Package org.xcsp.common.structures
Class Transition
- java.lang.Object
-
- org.xcsp.common.structures.Transition
-
public class Transition extends Object
This class allows us to represent a transition that is a useful object when defining finite automatons.
-
-
Constructor Summary
Constructors Constructor Description Transition(String firstState, Object symbol, String secondState)
Constructs a transition from the specified arguments.
-
-
-
Constructor Detail
-
Transition
public Transition(String firstState, Object symbol, String secondState)
Constructs a transition from the specified arguments.- Parameters:
firstState
- the first state, where the transition beginssymbol
- the symbol labeling the transitionsecondState
- the second state, where the transition ends
-
-