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 aKVertexConnectedComponentsAlgo
computation forIntGraph
.- Author:
- Barak Ugav
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IntGraph
componentSubGraph(int compIndex)
The subgraph of the k-vertex connected component with the given index.IntSet
componentVertices(int compIndex)
The vertices of the k-vertex connected component with the given index.IntGraph
graph()
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.Result
The vertices of the k-vertex connected component with the given index.- Specified by:
componentVertices
in 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.Result
The subgraph of the k-vertex connected component with the given index.- Specified by:
componentSubGraph
in 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.Result
The graph on which the k-vertex connected components were found.- Specified by:
graph
in interfaceKVertexConnectedComponentsAlgo.Result<Integer,Integer>
- Returns:
- the graph
-
-