net.sourceforge.toscanaj.model.directedgraph
Class DirectedGraph
java.lang.Object
net.sourceforge.toscanaj.model.directedgraph.DirectedGraph
- public class DirectedGraph
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectedGraph
public DirectedGraph()
addNode
public void addNode(Node node)
removeNode
public void removeNode(Node node,
boolean keepConnections)
getNodes
public java.util.Set getNodes()
getSources
public java.util.Set getSources()
getSinks
public java.util.Set getSinks()
getMaximalPaths
public java.util.Set getMaximalPaths()
calculateMaximalPaths
protected void calculateMaximalPaths(java.util.Set paths)
The ToscanaJ project