S
- state class.O
- output symbol class.public class MealyTransition<S,O> extends Object
Constructor and Description |
---|
MealyTransition(S successor,
O output)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
O |
getOutput()
Retrieves the output symbol.
|
S |
getSuccessor()
Retrieves the successor state.
|
void |
setOutput(O output)
Sets the output symbol.
|
public MealyTransition(S successor, O output)
successor
- successor state.output
- output symbol.public void setOutput(O output)
output
- the new output symbol.public S getSuccessor()
Copyright © 2015. All Rights Reserved.