Interface Cycles<EDGE extends Edge<?>>

All Superinterfaces:
Collection<Cycle<EDGE>>, Iterable<Cycle<EDGE>>

@PublicAPI(usage=ACCESS, state=EXPERIMENTAL) public interface Cycles<EDGE extends Edge<?>> extends Collection<Cycle<EDGE>>
  • Method Details

    • maxNumberOfCyclesReached

      @PublicAPI(usage=ACCESS, state=EXPERIMENTAL) boolean maxNumberOfCyclesReached()
      Returns:
      true, if the maximum number of cycles to detect had been reached. I.e. if true there could be more cycles in the examined graph that are omitted from the result, if false then all the cycles of the graph are reported.

      The maximum number of cycles at which the algorithm will stop can be configured by the archunit.properties property "cycles.maxNumberToDetect".