Class OrStopCriterion

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

public class OrStopCriterion extends Object implements StopCriterion
Logical OR of two stop criteria.
  • Constructor Details

  • Method Details

    • stop

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

      public void notifySuccessionExtracted(Succession succession)
      Description copied from interface: AnalyzerObserver
      Notifies the observer that the analyzer has extracted the given succession from the policy.
      Specified by:
      notifySuccessionExtracted in interface AnalyzerObserver
      Parameters:
      succession - succession extracted by the analyzer
    • 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
    • notifySuccessionCreated

      public void notifySuccessionCreated(Succession succession)
      Description copied from interface: AnalyzerObserver
      Notifies the observer that the analyzer has created the given succession after firing one of the events in the extracted succession.
      Specified by:
      notifySuccessionCreated in interface AnalyzerObserver
      Parameters:
      succession - succession created by the analyzer
    • notifySuccessionInserted

      public void notifySuccessionInserted(Succession succession)
      Description copied from interface: AnalyzerObserver
      Notifies the observer that the analyzer has inserted the given succession into the policy queue.
      Specified by:
      notifySuccessionInserted in interface AnalyzerObserver
      Parameters:
      succession - succession added by the analyzer to the policy queue
    • notifySuccessionPreProcessed

      public void notifySuccessionPreProcessed(Succession succession)
      Description copied from interface: AnalyzerObserver
      Notifies the observer that the analyzer has pre-processed the given succession.
      Specified by:
      notifySuccessionPreProcessed in interface AnalyzerObserver
      Parameters:
      succession - succession pre-processed by the analyzer
    • notifySuccessionPostProcessed

      public void notifySuccessionPostProcessed(Succession succession)
      Description copied from interface: AnalyzerObserver
      Notifies the observer that the analyzer has post-processed the given succession.
      Specified by:
      notifySuccessionPostProcessed in interface AnalyzerObserver
      Parameters:
      succession - succession post-processed by the analyzer