Package com.jgalgo.alg
Interface KVertexConnectedComponentsAlgo.IResult
-
- All Superinterfaces:
KVertexConnectedComponentsAlgo.Result<Integer,Integer>
- Enclosing interface:
- KVertexConnectedComponentsAlgo
public static interface KVertexConnectedComponentsAlgo.IResult extends KVertexConnectedComponentsAlgo.Result<Integer,Integer>
Result of aKVertexConnectedComponentsAlgocomputation forIntGraph.- Author:
- Barak Ugav
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IntGraphcomponentSubGraph(int compIndex)The subgraph of the k-vertex connected component with the given index.IntSetcomponentVertices(int compIndex)The vertices of the k-vertex connected component with the given index.IntGraphgraph()The graph on which the k-vertex connected components were found.-
Methods inherited from interface com.jgalgo.alg.KVertexConnectedComponentsAlgo.Result
componentsNum
-
-
-
-
Method Detail
-
componentVertices
IntSet componentVertices(int compIndex)
Description copied from interface:KVertexConnectedComponentsAlgo.ResultThe vertices of the k-vertex connected component with the given index.- Specified by:
componentVerticesin interfaceKVertexConnectedComponentsAlgo.Result<Integer,Integer>- Parameters:
compIndex- the index of the component- Returns:
- the vertices of the component
-
componentSubGraph
default IntGraph componentSubGraph(int compIndex)
Description copied from interface:KVertexConnectedComponentsAlgo.ResultThe subgraph of the k-vertex connected component with the given index.- Specified by:
componentSubGraphin interfaceKVertexConnectedComponentsAlgo.Result<Integer,Integer>- Parameters:
compIndex- the index of the component- Returns:
- the subgraph of the component
-
graph
IntGraph graph()
Description copied from interface:KVertexConnectedComponentsAlgo.ResultThe graph on which the k-vertex connected components were found.- Specified by:
graphin interfaceKVertexConnectedComponentsAlgo.Result<Integer,Integer>- Returns:
- the graph
-
-