Interface StochasticNet
-
- All Superinterfaces:
org.processmining.models.graphbased.AttributeMapOwner,java.lang.Cloneable,java.lang.Comparable<org.processmining.models.graphbased.directed.DirectedGraph<org.processmining.models.graphbased.directed.petrinet.PetrinetNode,org.processmining.models.graphbased.directed.petrinet.PetrinetEdge<? extends org.processmining.models.graphbased.directed.petrinet.PetrinetNode,? extends org.processmining.models.graphbased.directed.petrinet.PetrinetNode>>>,org.processmining.models.graphbased.directed.DirectedGraph<org.processmining.models.graphbased.directed.petrinet.PetrinetNode,org.processmining.models.graphbased.directed.petrinet.PetrinetEdge<? extends org.processmining.models.graphbased.directed.petrinet.PetrinetNode,? extends org.processmining.models.graphbased.directed.petrinet.PetrinetNode>>,org.processmining.models.graphbased.directed.DirectedGraphElement,org.processmining.models.graphbased.directed.petrinet.Petrinet,org.processmining.models.graphbased.directed.petrinet.PetrinetGraph,org.processmining.models.graphbased.directed.petrinet.ResetNet
- All Known Implementing Classes:
StochasticNetImpl
public interface StochasticNet extends org.processmining.models.graphbased.directed.petrinet.ResetNet, org.processmining.models.graphbased.directed.petrinet.Petrinet"stochastic Petri net" = Petri net with annotated stochastic information. Orientation after GSPN formalism with immediate transitions and timed transitions.Transitions have priority (only transitions with highest priority can fire when enabled).
Transitions have a weight, if multiple immediate transitions are enabled concurrently, a probabilistic choice is made based on their weights, to decide which one can fire first.
Timed transitions can have arbitrary distributions. See supported
StochasticNet.DistributionTypes.- Author:
- Andreas Rogge-Solti
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStochasticNet.DistributionTypeSupported parametric and non-parametric distributionsstatic classStochasticNet.ExecutionPolicyExecution policy of the network.static classStochasticNet.TimeUnitEnumeration specifying in which time unit the parameters of the net are given.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPARAMETER_LABEL
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimedTransitionaddImmediateTransition(java.lang.String label)TimedTransitionaddImmediateTransition(java.lang.String label, double weight)TimedTransitionaddImmediateTransition(java.lang.String label, double weight, int priority, java.lang.String trainingData)TimedTransitionaddTimedTransition(java.lang.String label, double weight, StochasticNet.DistributionType type, double... distributionParameters)TimedTransitionaddTimedTransition(java.lang.String label, double weight, StochasticNet.DistributionType type, java.lang.String trainingData, double... distributionParameters)TimedTransitionaddTimedTransition(java.lang.String label, StochasticNet.DistributionType type, double... distributionParameters)StochasticNet.ExecutionPolicygetExecutionPolicy()Returns the execution policy (seeStochasticNet.ExecutionPolicy) of the net.StochasticNet.TimeUnitgetTimeUnit()The time unit used in the stochastic netvoidsetExecutionPolicy(StochasticNet.ExecutionPolicy policy)Sets the execution policy of the net.voidsetTimeUnit(StochasticNet.TimeUnit timeUnit)Sets the time unit of the net-
Methods inherited from interface org.processmining.models.graphbased.AttributeMapOwner
getAttributeMap
-
Methods inherited from interface org.processmining.models.graphbased.directed.DirectedGraph
getEdges, getInEdges, getNodes, getOutEdges, removeEdge, removeNode
-
Methods inherited from interface org.processmining.models.graphbased.directed.DirectedGraphElement
equals, getGraph, hashCode
-
Methods inherited from interface org.processmining.models.graphbased.directed.petrinet.PetrinetGraph
addArc, addArc, addArc, addArc, addArc, addArc, addArc, addArc, addGroup, addGroup, addPlace, addPlace, addTransition, addTransition, getArc, getGroups, getLabel, getPlaces, getTransitions, removeArc, removeGroup, removePlace, removeTransition
-
-
-
-
Field Detail
-
PARAMETER_LABEL
static final java.lang.String PARAMETER_LABEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getExecutionPolicy
StochasticNet.ExecutionPolicy getExecutionPolicy()
Returns the execution policy (seeStochasticNet.ExecutionPolicy) of the net.- Returns:
StochasticNet.ExecutionPolicy
-
setExecutionPolicy
void setExecutionPolicy(StochasticNet.ExecutionPolicy policy)
Sets the execution policy of the net.- Parameters:
policy-StochasticNet.ExecutionPolicy
-
getTimeUnit
StochasticNet.TimeUnit getTimeUnit()
The time unit used in the stochastic net- Returns:
StochasticNet.TimeUnit
-
setTimeUnit
void setTimeUnit(StochasticNet.TimeUnit timeUnit)
Sets the time unit of the net- Parameters:
timeUnit-StochasticNet.TimeUnit
-
addImmediateTransition
TimedTransition addImmediateTransition(java.lang.String label)
-
addImmediateTransition
TimedTransition addImmediateTransition(java.lang.String label, double weight)
-
addImmediateTransition
TimedTransition addImmediateTransition(java.lang.String label, double weight, int priority, java.lang.String trainingData)
-
addTimedTransition
TimedTransition addTimedTransition(java.lang.String label, StochasticNet.DistributionType type, double... distributionParameters)
-
addTimedTransition
TimedTransition addTimedTransition(java.lang.String label, double weight, StochasticNet.DistributionType type, double... distributionParameters)
-
addTimedTransition
TimedTransition addTimedTransition(java.lang.String label, double weight, StochasticNet.DistributionType type, java.lang.String trainingData, double... distributionParameters)
-
-