Package com.jgalgo
Interface CoreAlgo.Result
-
- Enclosing interface:
- CoreAlgo
public static interface CoreAlgo.ResultThe result of the cores computation.- Author:
- Barak Ugav
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntCollectioncoreVertices(int core)The vertices of the given core.intmaxCore()The maximum core number of the graph.intvertexCoreNum(int v)The core number of the given vertex.
-
-
-
Method Detail
-
vertexCoreNum
int vertexCoreNum(int v)
The core number of the given vertex.The core number of a vertex is the highest order of a core that contains this vertex.
- Parameters:
v- a vertex in the graph- Returns:
- the core number of the vertex
-
maxCore
int maxCore()
The maximum core number of the graph.- Returns:
- the maximum core number of the graph
-
coreVertices
IntCollection coreVertices(int core)
The vertices of the given core.- Parameters:
core- the core number (order)- Returns:
- the vertices of the core
-
-