Class UniverseTransition

java.lang.Object
fr.univartois.cril.juniverse.csp.UniverseTransition

public final class UniverseTransition extends Object
The UniverseTransition represents a transition in a constraint representing an automaton.
  • Constructor Details

    • UniverseTransition

      public UniverseTransition(String start, int value, String end)
      Creates a new UniverseTransition.
      Parameters:
      start - The source state, where the transition begins.
      value - The value (object) labeling the transition.
      end - The target state, where the transition ends.
  • Method Details

    • getStart

      public String getStart()
      Gives the source state, where the transition begins.
      Returns:
      The source state.
    • getValue

      public int getValue()
      Gives the value (object) labeling the transition.
      Returns:
      The value labeling the transition.
    • getEnd

      public String getEnd()
      Gives the target state, where the transition ends.
      Returns:
      The target state.