Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
Implementation of test whether automaton accepts its input. More...
#include <Accept.h>
Static Public Member Functions | |
template<class SymbolType , class StateType > | |
static bool | accept (const automaton::DFA< SymbolType, StateType > &automaton, const string::LinearString< SymbolType > &string) |
template<class SymbolType , class StateType > | |
static bool | accept (const automaton::NFA< SymbolType, StateType > &automaton, const string::LinearString< SymbolType > &string) |
template<class SymbolType , class StateType > | |
static bool | accept (const automaton::EpsilonNFA< SymbolType, StateType > &automaton, const string::LinearString< SymbolType > &string) |
template<class SymbolType , class StateType > | |
static bool | accept (const automaton::DFTA< SymbolType, StateType > &automaton, const tree::RankedTree< SymbolType > &tree) |
template<class SymbolType , class StateType > | |
static bool | accept (const automaton::ArcFactoredDeterministicZAutomaton< SymbolType, StateType > &automaton, const tree::UnrankedTree< SymbolType > &tree) |
template<class SymbolType , class StateType > | |
static bool | accept (const automaton::NFTA< SymbolType, StateType > &automaton, const tree::RankedTree< SymbolType > &tree) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static bool | accept (const automaton::InputDrivenDPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static bool | accept (const automaton::VisiblyPushdownDPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static bool | accept (const automaton::RealTimeHeightDeterministicDPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static bool | accept (const automaton::DPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static bool | accept (const automaton::NPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string) |
template<class InputSymbolType , class OutputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static bool | accept (const automaton::NPDTA< InputSymbolType, OutputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const string::LinearString< InputSymbolType > &string) |
Implementation of test whether automaton accepts its input.
|
static |
|
static |
Automaton run implementation resulting in boolean true if the automaton accepted 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 |
\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
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
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 |
\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
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 |
\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
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 input symbols of the string and terminal symbols of the runned automaton |
OutputSymbolType | type of output 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 |
|
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 |