public interface Orderer<N>
Modifier and Type | Method and Description |
---|---|
java.util.List<N> |
newList(DirectedGraph<N> g,
boolean reverse)
Builds an order for a directed graph.
|
java.util.List<N> newList(DirectedGraph<N> g, boolean reverse)
g
- a DirectedGraph instance whose nodes we wish to orderreverse
- true
to compute the reverse order