|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Automaton
Basic interface for Automaton models.
| Method Summary | |
|---|---|
State |
addNewState()
Creates a new State and return it. |
List<State> |
getAllStates()
Applies a breadth-first search algorithm to retrieve all states reachable from the starting state. |
Alphabet |
getAlphabet()
Return Alphabet of this automaton |
Automaton |
getCopyWithRestrictedAlphabet(Alphabet alpha)
Deprecated. |
List<State> |
getIncompleteStates()
Returns all states of the automaton which not yet have a complete set of transitions. |
State |
getOtherStateWithSameSignature(State s)
Find state other than the supplied state producing the very same output for every input symbol of the alphabet. |
Alphabet |
getOutputAlphabet()
Return all symbols used as output in this automaton. |
State |
getStart()
Return the starting state. |
Word |
getTraceOutput(Word trace)
Return a word of output symbols produced by the automaton as reaction to the supplied word of input symbols. |
State |
getTraceState(Word trace,
int steps)
Return reached state after consuming the specified number of symbols of the input trace. |
Word |
getTraceToState(State destination)
Returns an access-sequence to the given state. |
boolean |
isWellDefined()
Checks if all states of the automaton have a complete set of valid transitions, meaning that every state has a transition for every symbol of the alphabet. |
| Method Detail |
|---|
State getStart()
Automaton the starting
state is automatically instantiated, too.
Alphabet getAlphabet()
Alphabet of this automaton
Alphabet getOutputAlphabet()
State addNewState()
State and return it.
boolean isWellDefined()
List<State> getAllStates()
List<State> getIncompleteStates()
State getOtherStateWithSameSignature(State s)
s -
Word getTraceToState(State destination)
destination -
Word getTraceOutput(Word trace)
trace -
State getTraceState(Word trace,
int steps)
trace - steps -
@Deprecated Automaton getCopyWithRestrictedAlphabet(Alphabet alpha)
alpha - Alphabet to resrict the copy to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||