Class Precondition


public final class Precondition extends Featurizable<PreconditionFeature>
Precondition of a Petri net.
  • Method Details

    • getPlace

      public Place getPlace()
      Returns the input place of this precondition.
      Returns:
      input place
    • getTransition

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

      public int getMultiplicity()
      Returns the multiplicity of this precondition.
      Returns:
      multiplicity
    • toString

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