Package org.oristool.models.stpn.trees
Class StochasticSuccessionEvaluator
java.lang.Object
org.oristool.models.stpn.trees.StochasticSuccessionEvaluator
- All Implemented Interfaces:
SuccessionEvaluator<PetriNet,
Transition>
public class StochasticSuccessionEvaluator
extends Object
implements SuccessionEvaluator<PetriNet,Transition>
Builder of successor states for stochastic time Petri nets.
-
Constructor Summary
ConstructorDescriptionStochasticSuccessionEvaluator
(boolean transientAnalysis, MarkingUpdater tokensRemover, MarkingUpdater tokensAdder, boolean checkNewlyEnabled, OmegaBigDecimal tauAgeLimit) Builds a succession evaluator with a given token remover and adder. -
Method Summary
Modifier and TypeMethodDescriptioncomputeSuccession
(PetriNet petriNet, State state, Transition fired)
-
Constructor Details
-
StochasticSuccessionEvaluator
public StochasticSuccessionEvaluator(boolean transientAnalysis, MarkingUpdater tokensRemover, MarkingUpdater tokensAdder, boolean checkNewlyEnabled, OmegaBigDecimal tauAgeLimit) Builds a succession evaluator with a given token remover and adder.If
checkNewlyEnabled
is true, states with the same marking are considered different if they have a different set of newly-enabled transitions.If
excludeZeroProb
is true, transition firings with zero probability are excluded.- Parameters:
transientAnalysis
- whether to includeVariable.AGE
tokensRemover
- the object used to add tokens after a firingtokensAdder
- the object used to remove tokens after a firingcheckNewlyEnabled
- whether to compare the sets of newly-enabled transitions of statestauAgeLimit
- time bound for the successors
-
-
Method Details
-
computeSuccession
- Specified by:
computeSuccession
in interfaceSuccessionEvaluator<PetriNet,
Transition>
-