V - the vertexW - the weightpublic interface VisitTopological<V,W extends java.lang.Number> extends VisitStrategy<V,W>
| Modifier and Type | Method and Description |
|---|---|
java.util.List<V> |
getTopologicalSort()
Return the latest calculated Topological sort of the graph.
If the latest visited graph is not a DAG, it will return null. |
visitjava.util.List<V> getTopologicalSort()
java.lang.NullPointerException - if there is no last calculated topological sort