Deterministic Z-Automaton in Arc-Factored Normal Form. Computation model for unranked regular tree languages.
More...
|
| ArcFactoredDeterministicZAutomaton () |
| Creates a new instance of the automaton. More...
|
|
| ArcFactoredDeterministicZAutomaton (ext::set< StateType > states, ext::set< SymbolType > inputAlphabet, ext::set< StateType > finalStates) |
| Creates a new instance of the automaton with a concrete set of states, input alphabet, and a set of final states. More...
|
|
const ext::set< StateType > & | getStates () const & |
|
ext::set< StateType > && | getStates () && |
|
bool | addState (StateType state) |
|
void | setStates (ext::set< StateType > states) |
|
void | removeState (const StateType &state) |
|
const ext::set< StateType > & | getFinalStates () const & |
|
ext::set< StateType > && | getFinalStates () && |
|
bool | addFinalState (StateType state) |
|
void | setFinalStates (ext::set< StateType > states) |
|
void | removeFinalState (const StateType &state) |
|
const ext::set< SymbolType > & | getInputAlphabet () const & |
|
ext::set< SymbolType > && | getInputAlphabet () && |
|
bool | addInputSymbol (SymbolType symbol) |
|
void | addInputSymbols (ext::set< SymbolType > symbols) |
|
void | setInputAlphabet (ext::set< SymbolType > symbols) |
|
void | removeInputSymbol (const SymbolType &symbol) |
|
bool | addTransition (ext::variant< SymbolType, ext::pair< StateType, StateType > > lhs, StateType rhs) |
| Add a transition to the automaton. More...
|
|
bool | addTransition (SymbolType lhs, StateType rhs) |
|
bool | addTransition (ext::pair< StateType, StateType > lhs, StateType rhs) |
|
bool | removeTransition (const ext::variant< SymbolType, ext::pair< StateType, StateType > > &lhs, const StateType &next) |
| Removes a transition from the automaton. More...
|
|
const ext::map< ext::variant< SymbolType, ext::pair< StateType, StateType > >, StateType > & | getTransitions () const & |
|
ext::map< ext::variant< SymbolType, ext::pair< StateType, StateType > >, StateType > && | getTransitions () && |
|
ext::map< ext::variant< SymbolType, ext::pair< StateType, StateType > >, StateType > | getTransitionsToState (const StateType &q) const |
|
ext::map< ext::variant< SymbolType, ext::pair< StateType, StateType > >, StateType > | getTransitionsFromState (const StateType &q) const |
|
auto | operator<=> (const ArcFactoredDeterministicZAutomaton &other) const |
|
bool | operator== (const ArcFactoredDeterministicZAutomaton &other) const |
|
void | accessComponent () |
|
template<class SymbolTypeT = DefaultSymbolType, class StateTypeT = DefaultStateType>
class automaton::ArcFactoredDeterministicZAutomaton< SymbolTypeT, StateTypeT >
Deterministic Z-Automaton in Arc-Factored Normal Form. Computation model for unranked regular tree languages.
Defined in Björklund, Drewes, Satta: Z-Automata for Compact and Direct Representation of Unranked Tree Languages https://doi.org/10.1007/978-3-030-23679-3_7
Nondeterministic Z-Automaton in Arc-Factored Normal Form is a Nondeterministic Z-Automaton where every transition is in arc-factored normal form. A transition is in arc-factored normal form if its lhs is in (\Sigma \cup Q(Q)).
- Template Parameters
-
SymbolTypeT | used for the symbols of the tree the automaton is executed on. |
StateTypeT | used for the states, and the initial state of the automaton. |