|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface DirectedAcyclicGraph.TopoOrderMapping<V>
For performance tuning, an interface for storing the topological ordering
Method Summary | |
---|---|
Integer |
getTopologicalIndex(V vertex)
get the topological index of the given vertex. |
V |
getVertex(Integer index)
get the vertex at the given topological index. |
void |
putVertex(Integer index,
V vertex)
add a vertex at the given topological index. |
void |
removeAllVertices()
remove all vertices from the topological ordering |
Integer |
removeVertex(V vertex)
remove the given vertex from the topological ordering |
Method Detail |
---|
void putVertex(Integer index, V vertex)
index
- vertex
- V getVertex(Integer index)
index
-
Integer getTopologicalIndex(V vertex)
vertex
-
Integer removeVertex(V vertex)
vertex
-
void removeAllVertices()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |