Class IterationsNumberStopCriterion

java.lang.Object
org.oristool.analyzer.stop.IterationsNumberStopCriterion
All Implemented Interfaces:
AnalyzerObserver, StopCriterion

public final class IterationsNumberStopCriterion extends Object implements StopCriterion
A stop criterion that stops the analysis after the given number of nodes has been added.
  • Constructor Details

    • IterationsNumberStopCriterion

      public IterationsNumberStopCriterion(int maxIterationsCount)
  • Method Details

    • stop

      public boolean stop()
      Specified by:
      stop in interface StopCriterion
    • notifyNodeAdded

      public void notifyNodeAdded(Succession succession)
      Description copied from interface: AnalyzerObserver
      Notifies the observer that the analyzer has added the child node of the given succession to the graph.
      Specified by:
      notifyNodeAdded in interface AnalyzerObserver
      Parameters:
      succession - succession added to the graph by the analyzer