Package org.oristool.petrinet
Class Transition
- All Implemented Interfaces:
Event
Transition of a Petri net.
-
Field Summary
Fields inherited from class org.oristool.util.Featurizable
features
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of this transition as the event name.Returns the variable associated with this transition.newVariableSetInstance
(Set<Transition> transitions) Variables associated with a set of transitions.toString()
Methods inherited from class org.oristool.util.Featurizable
addFeature, getFeature, getFeatures, hasFeature, removeFeature
-
Method Details
-
getName
Returns the name of this transition as the event name. -
toString
- Overrides:
toString
in classFeaturizable<TransitionFeature>
-
newVariableInstance
Returns the variable associated with this transition.- Returns:
- variable for this transition
-
newVariableSetInstance
Variables associated with a set of transitions.- Parameters:
transitions
- input transitions- Returns:
- associated variables
-