Class DetectCycleAlgo
java.lang.Object
fr.paris.lutece.plugins.utils.algo.DetectCycleAlgo
Algorithm that will detect if a directed graph has a cycle.
A -> B -> C : OK
A -> B -> A : KO
A -> B -> C : OK
A -> B -> A : KO
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DetectCycleAlgo
-
-
Method Details
-
hasCycle
public boolean hasCycle()
-