Package org.oristool.petrinet
Class InhibitorArc
An inhibitor arc connecting a place to a transition.
The transition will be enabled only if the place contains fewer tokens than the multiplicity of the inhibitor arc.
This class implements the interface TransitionFeature
to be added
dynamically as feature to any Transition
.
-
Field Summary
Fields inherited from class org.oristool.util.Featurizable
features
-
Method Summary
Methods inherited from class org.oristool.util.Featurizable
addFeature, getFeature, getFeatures, hasFeature, removeFeature
-
Method Details
-
getPlace
Returns the inhibitor place.- Returns:
- inhibitor place
-
getTransition
Returns the target transition.- Returns:
- target transition
-
getMultiplicity
public int getMultiplicity()Returns the multiplicity of the inhibitor arc.- Returns:
- multiplicity
-
toString
- Overrides:
toString
in classFeaturizable<InhibitorArcFeature>
-