|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.util.dag.CycleDetector
public class CycleDetector
Constructor Summary | |
---|---|
CycleDetector()
|
Method Summary | |
---|---|
static java.util.List |
hasCycle(DAG graph)
|
static java.util.List |
introducesCycle(Vertex vertex)
|
static java.util.List |
introducesCycle(Vertex vertex,
java.util.Map vertexStateMap)
This method will be called when an egde leading to given vertex was added and we want to check if introduction of this edge has not resulted in apparition of cycle in the graph |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CycleDetector()
Method Detail |
---|
public static java.util.List hasCycle(DAG graph)
public static java.util.List introducesCycle(Vertex vertex, java.util.Map vertexStateMap)
vertex
- vertexStateMap
-
public static java.util.List introducesCycle(Vertex vertex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |