Class StochasticLabelledDataPetriNetSemanticsWeightsImpl
- java.lang.Object
-
- org.processmining.stochasticlabelleddatapetrinet.StochasticLabelledDataPetriNetSemanticsImpl
-
- org.processmining.stochasticlabelleddatapetrinet.StochasticLabelledDataPetriNetSemanticsWeightsImpl
-
- All Implemented Interfaces:
java.lang.Cloneable,StochasticLabelledDataPetriNetSemantics
public class StochasticLabelledDataPetriNetSemanticsWeightsImpl extends StochasticLabelledDataPetriNetSemanticsImpl
-
-
Field Summary
-
Fields inherited from class org.processmining.stochasticlabelleddatapetrinet.StochasticLabelledDataPetriNetSemanticsImpl
enabledTransitions, numberOfEnabledTransitions
-
-
Constructor Summary
Constructors Constructor Description StochasticLabelledDataPetriNetSemanticsWeightsImpl(StochasticLabelledDataPetriNetWeights net, DataStateFactory dataStateFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StochasticLabelledDataPetriNetSemanticsWeightsImplclone()UtilitiesdoublegetTotalWeightOfEnabledTransitions()doublegetTransitionWeight(int transition)-
Methods inherited from class org.processmining.stochasticlabelleddatapetrinet.StochasticLabelledDataPetriNetSemanticsImpl
executeTransition, getDataState, getEnabledTransitions, getNumberOfVariables, getState, getTransitionLabel, getVariableLabel, getVariableType, isFinalState, isStrictWriteSemantics, isTransitionSilent, newDataState, setDataState, setInitialState, setState, setStrictWriteSemantics
-
-
-
-
Constructor Detail
-
StochasticLabelledDataPetriNetSemanticsWeightsImpl
public StochasticLabelledDataPetriNetSemanticsWeightsImpl(StochasticLabelledDataPetriNetWeights net, DataStateFactory dataStateFactory)
-
-
Method Detail
-
getTransitionWeight
public double getTransitionWeight(int transition)
- Returns:
- the weight of the transition. This might depend on the state.
-
getTotalWeightOfEnabledTransitions
public double getTotalWeightOfEnabledTransitions()
- Returns:
- the sum of the weight of the enabled transitions
-
clone
public StochasticLabelledDataPetriNetSemanticsWeightsImpl clone()
Description copied from interface:StochasticLabelledDataPetriNetSemanticsUtilities- Specified by:
clonein interfaceStochasticLabelledDataPetriNetSemantics- Overrides:
clonein classStochasticLabelledDataPetriNetSemanticsImpl
-
-