Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
Implementation of automaton run over its input returning the reached state. More...
#include <Result.h>
Static Public Member Functions | |
template<class SymbolType , class StateType > | |
static StateType | result (const automaton::DFA< SymbolType, StateType > &automaton, const string::LinearString< SymbolType > &string) |
template<class SymbolType , class StateType > | |
static StateType | result (const automaton::DFTA< SymbolType, StateType > &automaton, const tree::RankedTree< SymbolType > &tree) |
template<class SymbolType , class StateType > | |
static StateType | result (const automaton::ArcFactoredDeterministicZAutomaton< SymbolType, StateType > &automaton, const tree::UnrankedTree< SymbolType > &tree) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static StateType | result (const automaton::InputDrivenDPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static StateType | result (const automaton::VisiblyPushdownDPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static StateType | result (const automaton::RealTimeHeightDeterministicDPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static StateType | result (const automaton::DPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string) |
template<class SymbolType , class StateType > | |
static StateType | result (const automaton::DFA< SymbolType, StateType > &automaton, const string::LinearString< SymbolType > &string, const StateType &failLabel) |
template<class SymbolType , class StateType > | |
static StateType | result (const automaton::DFTA< SymbolType, StateType > &automaton, const tree::RankedTree< SymbolType > &tree, const StateType &failLabel) |
template<class SymbolType , class StateType > | |
static StateType | result (const automaton::ArcFactoredDeterministicZAutomaton< SymbolType, StateType > &automaton, const tree::UnrankedTree< SymbolType > &tree, const StateType &failLabel) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static StateType | result (const automaton::InputDrivenDPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string, const StateType &failLabel) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static StateType | result (const automaton::VisiblyPushdownDPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string, const StateType &failLabel) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static StateType | result (const automaton::RealTimeHeightDeterministicDPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string, const StateType &failLabel) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static StateType | result (const automaton::DPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string, const StateType &failLabel) |
Implementation of automaton run over its input returning the reached state.
|
static |
|
static |
|
static |
General automaton run implementation resulting in the reached state. Generic fail state is returned if the automaton's transition function was not defined for the input.
SymbolType | type of symbols of the string and terminal symbols of the runned automaton |
StateType | type of states of the runned automaton |
automaton | the runned automaton |
string | the input of the automaton |
|
static |
General automaton run implementation resulting in the reached state. Given fail state is returned if the automaton's transition function was not defined for the input.
SymbolType | type of symbols of the string and terminal symbols of the runned automaton |
StateType | type of states of the runned automaton |
automaton | the runned automaton |
string | the input of the automaton |
the | fail state to use when transition function is not defined for the input |
|
static |
\override
SymbolType | type of symbols of tree nodes and terminal symbols of the runned automaton |
RankType | type of ranks of tree nodes and terminal symbols of the runned automaton |
StateType | type of states of the runned automaton |
automaton | the runned automaton |
string | the input of the automaton |
|
static |
\override
SymbolType | type of symbols of tree nodes and terminal symbols of the runned automaton |
RankType | type of ranks of tree nodes and terminal symbols of the runned automaton |
StateType | type of states of the runned automaton |
automaton | the runned automaton |
string | the input of the automaton |
the | fail state to use when transition function is not defined for the input |
|
static |
\override
InputSymbolType | type of symbols of the string and terminal symbols of the runned automaton |
PushdownStoreSymbolType | type of pushdown store symbols of the runned automaton |
StateType | type of states of the runned automaton |
automaton | the runned automaton |
string | the input of the automaton |
|
static |
\override
InputSymbolType | type of symbols of the string and terminal symbols of the runned automaton |
PushdownStoreSymbolType | type of pushdown store symbols of the runned automaton |
StateType | type of states of the runned automaton |
automaton | the runned automaton |
string | the input of the automaton |
the | fail state to use when transition function is not defined for the input |
|
static |
\override
InputSymbolType | type of symbols of the string and terminal symbols of the runned automaton |
PushdownStoreSymbolType | type of pushdown store symbols of the runned automaton |
StateType | type of states of the runned automaton |
automaton | the runned automaton |
string | the input of the automaton |
|
static |
\override
InputSymbolType | type of symbols of the string and terminal symbols of the runned automaton |
PushdownStoreSymbolType | type of pushdown store symbols of the runned automaton |
StateType | type of states of the runned automaton |
automaton | the runned automaton |
string | the input of the automaton |
the | fail state to use when transition function is not defined for the input |
|
static |
\override
InputSymbolType | type of symbols of the string and terminal symbols of the runned automaton |
PushdownStoreSymbolType | type of pushdown store symbols of the runned automaton |
StateType | type of states of the runned automaton |
automaton | the runned automaton |
string | the input of the automaton |
|
static |
\override
InputSymbolType | type of symbols of the string and terminal symbols of the runned automaton |
PushdownStoreSymbolType | type of pushdown store symbols of the runned automaton |
StateType | type of states of the runned automaton |
automaton | the runned automaton |
string | the input of the automaton |
the | fail state to use when transition function is not defined for the input |
|
static |
\override
InputSymbolType | type of symbols of the string and terminal symbols of the runned automaton |
PushdownStoreSymbolType | type of pushdown store symbols of the runned automaton |
StateType | type of states of the runned automaton |
automaton | the runned automaton |
string | the input of the automaton |
|
static |
\override
InputSymbolType | type of symbols of the string and terminal symbols of the runned automaton |
PushdownStoreSymbolType | type of pushdown store symbols of the runned automaton |
StateType | type of states of the runned automaton |
automaton | the runned automaton |
string | the input of the automaton |
the | fail state to use when transition function is not defined for the input |