Package org.oristool.models.tpn
Class TimeBoundStopCriterion
java.lang.Object
org.oristool.models.tpn.TimeBoundStopCriterion
- All Implemented Interfaces:
AnalyzerObserver
,StopCriterion
A global stop criterion.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
notifyNodeAdded
(Succession succession) Notifies the observer that the analyzer has added the child node of the given succession to the graph.void
notifySuccessionCreated
(Succession succession) Notifies the observer that the analyzer has created the given succession after firing one of the events in the extracted succession.void
notifySuccessionExtracted
(Succession succession) Notifies the observer that the analyzer has extracted the given succession from the policy.void
notifySuccessionInserted
(Succession succession) Notifies the observer that the analyzer has inserted the given succession into the policy queue.void
notifySuccessionPostProcessed
(Succession succession) Notifies the observer that the analyzer has post-processed the given succession.void
notifySuccessionPreProcessed
(Succession succession) Notifies the observer that the analyzer has pre-processed the given succession.boolean
stop()
-
Constructor Details
-
TimeBoundStopCriterion
-
-
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
-
notifySuccessionPreProcessed
Description copied from interface:AnalyzerObserver
Notifies the observer that the analyzer has pre-processed the given succession.- Specified by:
notifySuccessionPreProcessed
in interfaceAnalyzerObserver
- Parameters:
succession
- succession pre-processed by the analyzer
-
notifyNodeAdded
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 interfaceAnalyzerObserver
- Parameters:
succession
- succession added to the graph by the analyzer
-
notifySuccessionCreated
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 interfaceAnalyzerObserver
- Parameters:
succession
- succession created by the analyzer
-
notifySuccessionPostProcessed
Description copied from interface:AnalyzerObserver
Notifies the observer that the analyzer has post-processed the given succession.- Specified by:
notifySuccessionPostProcessed
in interfaceAnalyzerObserver
- Parameters:
succession
- succession post-processed by the analyzer
-
notifySuccessionInserted
Description copied from interface:AnalyzerObserver
Notifies the observer that the analyzer has inserted the given succession into the policy queue.- Specified by:
notifySuccessionInserted
in interfaceAnalyzerObserver
- Parameters:
succession
- succession added by the analyzer to the policy queue
-