Module fr.univartois.cril.juniverse
Package fr.univartois.cril.juniverse.csp
Class UniverseTransition
java.lang.Object
fr.univartois.cril.juniverse.csp.UniverseTransition
The UniverseTransition represents a transition in a constraint representing an
automaton.
-
Constructor Summary
ConstructorsConstructorDescriptionUniverseTransition
(String start, int value, String end) Creates a new UniverseTransition. -
Method Summary
-
Constructor Details
-
UniverseTransition
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
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
Gives the target state, where the transition ends.- Returns:
- The target state.
-