Package org.oristool.models.stpn.trees
Class NewlyEnablingStateBuilder
java.lang.Object
org.oristool.models.stpn.trees.NewlyEnablingStateBuilder
- All Implemented Interfaces:
StateBuilder<Marking>
State builder for stochastic time Petri nets, using standard regenerations.
-
Constructor Summary
ConstructorDescriptionNewlyEnablingStateBuilder
(PetriNet petriNet, boolean transientAnalysis) NewlyEnablingStateBuilder
(PetriNet petriNet, boolean transientAnalysis, boolean checkNewlyEnabled, BigDecimal epsilon, int numSamples) Configures a state builder for STPNs. -
Method Summary
-
Constructor Details
-
NewlyEnablingStateBuilder
-
NewlyEnablingStateBuilder
public NewlyEnablingStateBuilder(PetriNet petriNet, boolean transientAnalysis, boolean checkNewlyEnabled, BigDecimal epsilon, int numSamples) Configures a state builder for STPNs.- Parameters:
petriNet
- Petri nettransientAnalysis
- whether the state should includeVariable.AGE
checkNewlyEnabled
- whether to compare enabled setsepsilon
- allowed error when comparing statesnumSamples
- number of samples used when comparing states
-
-
Method Details
-
build
- Specified by:
build
in interfaceStateBuilder<Marking>
-