public static interface DirectedAcyclicGraph.TopoOrderMapping<V> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
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
|
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()
Copyright © 2016. All rights reserved.