Class DetectCycleAlgo

java.lang.Object
fr.paris.lutece.plugins.utils.algo.DetectCycleAlgo

public class DetectCycleAlgo extends Object
Algorithm that will detect if a directed graph has a cycle.
A -> B -> C : OK
A -> B -> A : KO
  • Constructor Details

  • Method Details

    • hasCycle

      public boolean hasCycle()