Package it.univr.wordautomata.model
Class TransitionWrapper
java.lang.Object
it.univr.wordautomata.model.TransitionWrapper
Represents a wrapper class for a transition in a word automaton, in order to store the starting and ending states of the transition.
-
Constructor Summary
ConstructorDescriptionTransitionWrapper
(State startingState, State endingState, Transition transition) Constructs a new TransitionWrapper object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the ending state of the transition.Returns the starting state of the transition.Returns the transition itself.
-
Constructor Details
-
TransitionWrapper
Constructs a new TransitionWrapper object.- Parameters:
startingState
- the starting state of the transitionendingState
- the ending state of the transitiontransition
- the transition itself
-
-
Method Details
-
getStartingState
Returns the starting state of the transition.- Returns:
- the starting state
-
getEndingState
Returns the ending state of the transition.- Returns:
- the ending state
-
getTransition
Returns the transition itself.- Returns:
- the transition
-