Interface DirectedAcyclicGraph.TopoOrderMap<V>
- Type Parameters:
V- the graph vertex type
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DirectedAcyclicGraph.TopoVertexBiMap, DirectedAcyclicGraph.TopoVertexMap
- Enclosing class:
DirectedAcyclicGraph<V,E>
An interface for storing the topological ordering.
-
Method Summary
Modifier and TypeMethodDescriptiongetTopologicalIndex(V vertex) Get the topological index of the given vertex.Get the vertex at the given topological index.voidAdd a vertex at the given topological index.voidRemove all vertices from the topological ordering.removeVertex(V vertex) Remove the given vertex from the topological ordering.
-
Method Details
-
putVertex
-
getVertex
-
getTopologicalIndex
-
removeVertex
-
removeAllVertices
void removeAllVertices()Remove all vertices from the topological ordering.
-