Package org.oristool.petrinet
Class Precondition
Precondition of a Petri net.
-
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 input place of this precondition.- Returns:
- input place
-
getTransition
Returns the target transition of this precondition.- Returns:
- target transition
-
getMultiplicity
public int getMultiplicity()Returns the multiplicity of this precondition.- Returns:
- multiplicity
-
toString
- Overrides:
toString
in classFeaturizable<PreconditionFeature>
-