Class StochasticLabelledDataPetriNetWeightsDataDependent
- java.lang.Object
-
- org.processmining.stochasticlabelleddatapetrinet.StochasticLabelledDataPetriNetImpl
-
- org.processmining.stochasticlabelleddatapetrinet.StochasticLabelledDataPetriNetWeightsDataDependent
-
- All Implemented Interfaces:
StochasticLabelledDataPetriNet,StochasticLabelledDataPetriNetWeights
public class StochasticLabelledDataPetriNetWeightsDataDependent extends StochasticLabelledDataPetriNetImpl implements StochasticLabelledDataPetriNetWeights
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.processmining.stochasticlabelleddatapetrinet.StochasticLabelledDataPetriNetImpl
StochasticLabelledDataPetriNetImpl.SLPN
-
Nested classes/interfaces inherited from interface org.processmining.stochasticlabelleddatapetrinet.StochasticLabelledDataPetriNet
StochasticLabelledDataPetriNet.VariableType
-
-
Constructor Summary
Constructors Constructor Description StochasticLabelledDataPetriNetWeightsDataDependent(StochasticLabelledDataPetriNet sldpn)Copy from existing SLDPNStochasticLabelledDataPetriNetWeightsDataDependent(StochasticLabelledDataPetriNet sldpn, java.util.List<java.lang.String> variableLabels, java.util.List<StochasticLabelledDataPetriNet.VariableType> variableTypes, java.util.List<int[]> transitionReadVariables, java.util.List<int[]> transitionWriteVariables)Copy from existing SLDPN with changed data perspectiveStochasticLabelledDataPetriNetWeightsDataDependent(org.processmining.stochasticlabelledpetrinets.StochasticLabelledPetriNet slpn, java.util.List<java.lang.String> variableLabels, java.util.List<StochasticLabelledDataPetriNet.VariableType> variableTypes, java.util.List<int[]> transitionReadVariables, java.util.List<int[]> transitionWriteVariables)Copy from existing SLPN with added data perspective
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StochasticLabelledDataPetriNetSemanticsgetDefaultSemantics()StochasticLabelledDataPetriNetSerializergetDefaultSerializer()doublegetTransitionWeight(int transition, DataState dataState)WeightFunctiongetWeightFunction(int transition)voidsetWeightFunction(int transition, WeightFunction function)-
Methods inherited from class org.processmining.stochasticlabelleddatapetrinet.StochasticLabelledDataPetriNetImpl
getGuardExpression, getInputPlaces, getInputTransitions, getNumberOfPlaces, getNumberOfTransitions, getNumberOfVariables, getOutputPlaces, getOutputTransitions, getReadVariables, getTransitionLabel, getVariableLabel, getVariableType, getWriteVariables, isInInitialMarking, isTransitionSilent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.processmining.stochasticlabelleddatapetrinet.StochasticLabelledDataPetriNet
getGuardExpression, getInputPlaces, getInputTransitions, getNumberOfPlaces, getNumberOfTransitions, getNumberOfVariables, getOutputPlaces, getOutputTransitions, getReadVariables, getTransitionLabel, getVariableLabel, getVariableType, getWriteVariables, isInInitialMarking, isTransitionSilent
-
-
-
-
Constructor Detail
-
StochasticLabelledDataPetriNetWeightsDataDependent
public StochasticLabelledDataPetriNetWeightsDataDependent(StochasticLabelledDataPetriNet sldpn)
Copy from existing SLDPN- Parameters:
sldpn-
-
StochasticLabelledDataPetriNetWeightsDataDependent
public StochasticLabelledDataPetriNetWeightsDataDependent(StochasticLabelledDataPetriNet sldpn, java.util.List<java.lang.String> variableLabels, java.util.List<StochasticLabelledDataPetriNet.VariableType> variableTypes, java.util.List<int[]> transitionReadVariables, java.util.List<int[]> transitionWriteVariables)
Copy from existing SLDPN with changed data perspective- Parameters:
sldpn-variableLabels-variableTypes-transitionReadVariables-transitionWriteVariables-
-
StochasticLabelledDataPetriNetWeightsDataDependent
public StochasticLabelledDataPetriNetWeightsDataDependent(org.processmining.stochasticlabelledpetrinets.StochasticLabelledPetriNet slpn, java.util.List<java.lang.String> variableLabels, java.util.List<StochasticLabelledDataPetriNet.VariableType> variableTypes, java.util.List<int[]> transitionReadVariables, java.util.List<int[]> transitionWriteVariables)Copy from existing SLPN with added data perspective- Parameters:
slpn-variableLabels-variableTypes-transitionReadVariables-transitionWriteVariables-
-
-
Method Detail
-
setWeightFunction
public void setWeightFunction(int transition, WeightFunction function)
-
getWeightFunction
public WeightFunction getWeightFunction(int transition)
- Specified by:
getWeightFunctionin interfaceStochasticLabelledDataPetriNetWeights
-
getTransitionWeight
public double getTransitionWeight(int transition, DataState dataState)- Specified by:
getTransitionWeightin interfaceStochasticLabelledDataPetriNetWeights- Returns:
- the weight of the transition.
-
getDefaultSemantics
public StochasticLabelledDataPetriNetSemantics getDefaultSemantics()
- Specified by:
getDefaultSemanticsin interfaceStochasticLabelledDataPetriNet- Returns:
- an object that allows for a standardised interpretation of the language of the net. The returned object might not be thread safe and the implementer must ensure a new, fresh, object is returned for each call.
-
getDefaultSerializer
public StochasticLabelledDataPetriNetSerializer getDefaultSerializer()
- Specified by:
getDefaultSerializerin interfaceStochasticLabelledDataPetriNet
-
-