Class Transition

All Implemented Interfaces:
Event

public final class Transition extends Featurizable<TransitionFeature> implements Event
Transition of a Petri net.
  • Method Details

    • getName

      public String getName()
      Returns the name of this transition as the event name.
      Specified by:
      getName in interface Event
      Returns:
      name of the place
    • toString

      public String toString()
      Overrides:
      toString in class Featurizable<TransitionFeature>
    • newVariableInstance

      public Variable newVariableInstance()
      Returns the variable associated with this transition.
      Returns:
      variable for this transition
    • newVariableSetInstance

      public static Set<Variable> newVariableSetInstance(Set<Transition> transitions)
      Variables associated with a set of transitions.
      Parameters:
      transitions - input transitions
      Returns:
      associated variables