public interface ReversibleGraph<N> extends MutableDirectedGraph<N>
Modifier and Type | Method and Description |
---|---|
boolean |
isReversed()
Returns true if the graph is now reversed from its original state
at creation.
|
ReversibleGraph<N> |
reverse()
Reverse the edges of the current graph and swap head and tail
nodes.
|
addEdge, addNode, containsEdge, containsNode, getNodes, removeEdge, removeNode
getHeads, getPredsOf, getSuccsOf, getTails, iterator, size
boolean isReversed()
ReversibleGraph<N> reverse()