Package org.oristool.models.stpn.trees
Class RegenerativeStopCriterion
java.lang.Object
org.oristool.models.stpn.trees.RegenerativeStopCriterion
- All Implemented Interfaces:
AnalyzerObserver
,StopCriterion
Stop criterion halting the analysis after regenerations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
notifySuccessionExtracted
(Succession succession) Notifies the observer that the analyzer has extracted the given succession from the policy.boolean
stop()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.oristool.analyzer.AnalyzerObserver
notifyNodeAdded, notifySuccessionCreated, notifySuccessionInserted, notifySuccessionPostProcessed, notifySuccessionPreProcessed
-
Constructor Details
-
RegenerativeStopCriterion
public RegenerativeStopCriterion()
-
-
Method Details
-
stop
public boolean stop()- Specified by:
stop
in interfaceStopCriterion
-
notifySuccessionExtracted
Description copied from interface:AnalyzerObserver
Notifies the observer that the analyzer has extracted the given succession from the policy.- Specified by:
notifySuccessionExtracted
in interfaceAnalyzerObserver
- Parameters:
succession
- succession extracted by the analyzer
-