Interface StochasticLabelledDataPetriNet
-
- All Known Subinterfaces:
StochasticLabelledDataPetriNetWeights
- All Known Implementing Classes:
StochasticLabelledDataPetriNetImpl,StochasticLabelledDataPetriNetWeightsDataDependent,StochasticLabelledDataPetriNetWeightsDataIndependent
public interface StochasticLabelledDataPetriNetInspired by StochasticLabelledPetriNet but not in an inheritance relation since structurally different.- Author:
- Felix Mannhardt, Sander Leemans
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStochasticLabelledDataPetriNet.VariableType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StochasticLabelledDataPetriNetSemanticsgetDefaultSemantics()StochasticLabelledDataPetriNetSerializergetDefaultSerializer()org.processmining.datapetrinets.expression.GuardExpressiongetGuardExpression(int transition)int[]getInputPlaces(int transition)int[]getInputTransitions(int place)intgetNumberOfPlaces()intgetNumberOfTransitions()intgetNumberOfVariables()Data elementsint[]getOutputPlaces(int transition)int[]getOutputTransitions(int place)int[]getReadVariables(int transition)java.lang.StringgetTransitionLabel(int transition)java.lang.StringgetVariableLabel(int variable)StochasticLabelledDataPetriNet.VariableTypegetVariableType(int variable)int[]getWriteVariables(int transition)intisInInitialMarking(int place)booleanisTransitionSilent(int transition)
-
-
-
Method Detail
-
getNumberOfTransitions
int getNumberOfTransitions()
- Returns:
- the number of transitions. All transitions have indices starting at 0 and ending at the returned value (exclusive).
-
getNumberOfPlaces
int getNumberOfPlaces()
- Returns:
- the number of places. All places have indices starting at 0 and ending at the returned value (exclusive).
-
getTransitionLabel
java.lang.String getTransitionLabel(int transition)
- Parameters:
transition- the index of the transition- Returns:
- the label of the transition or NULL if there is not label assigned
-
isTransitionSilent
boolean isTransitionSilent(int transition)
- Parameters:
transition- the index of the transition- Returns:
- whether the transition is a silent transition
-
isInInitialMarking
int isInInitialMarking(int place)
- Parameters:
place- the index of the place- Returns:
- the number of tokens on this place in the initial marking.
-
getNumberOfVariables
int getNumberOfVariables()
Data elements
-
getVariableLabel
java.lang.String getVariableLabel(int variable)
-
getVariableType
StochasticLabelledDataPetriNet.VariableType getVariableType(int variable)
-
getReadVariables
int[] getReadVariables(int transition)
-
getWriteVariables
int[] getWriteVariables(int transition)
-
getGuardExpression
org.processmining.datapetrinets.expression.GuardExpression getGuardExpression(int transition)
-
getInputPlaces
int[] getInputPlaces(int transition)
- Parameters:
transition- the index of the transition- Returns:
- a list of places that have arcs to this transition. Transitions may appear multiple times. The caller must not change the returned array.
-
getOutputPlaces
int[] getOutputPlaces(int transition)
- Parameters:
transition- the index of the transition- Returns:
- a list of places that have arcs from this transition. Transitions may appear multiple times. The caller must not change the returned array.
-
getInputTransitions
int[] getInputTransitions(int place)
- Parameters:
place- the index of the place- Returns:
- a list of transitions that have arcs to this place. Places may appear multiple times. The caller must not change the returned array.
-
getOutputTransitions
int[] getOutputTransitions(int place)
- Parameters:
place- the index of the place- Returns:
- a list of transitions that have arcs from this place. Places may appear multiple times. The caller must not change the returned array.
-
getDefaultSemantics
StochasticLabelledDataPetriNetSemantics getDefaultSemantics()
- 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
StochasticLabelledDataPetriNetSerializer getDefaultSerializer()
-
-