|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.graph.util.graph.CycleDetector org.geotools.graph.util.graph.DirectedCycleDetector
Detects cycles in a directed graph. A directed topological iteration of the nodes of the graph is performed. If the iteration includes all nodes in the graph then the graph is cycle free, otherwise a cycle exists.
DirectedBreadthFirstTopologicalIterator
Constructor Summary | |
DirectedCycleDetector(Graph graph)
|
Method Summary | |
protected GraphIterator |
createIterator()
Creates the iterator to be used in the cycle detection. |
Methods inherited from class org.geotools.graph.util.graph.CycleDetector |
containsCycle, finish, visit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DirectedCycleDetector(Graph graph)
Method Detail |
protected GraphIterator createIterator()
CycleDetector
createIterator
in class CycleDetector
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |