Class InhibitorArc


public final class InhibitorArc extends Featurizable<InhibitorArcFeature>
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.

  • Method Details

    • getPlace

      public Place getPlace()
      Returns the inhibitor place.
      Returns:
      inhibitor place
    • getTransition

      public Transition getTransition()
      Returns the target transition.
      Returns:
      target transition
    • getMultiplicity

      public int getMultiplicity()
      Returns the multiplicity of the inhibitor arc.
      Returns:
      multiplicity
    • toString

      public String toString()
      Overrides:
      toString in class Featurizable<InhibitorArcFeature>