Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <Rename.h>
Public Member Functions | |
template<class SymbolType , class StateType > | |
automaton::ArcFactoredNondeterministicZAutomaton< SymbolType, unsigned > | rename (const automaton::ArcFactoredNondeterministicZAutomaton< SymbolType, StateType > &a) |
template<class SymbolType , class StateType > | |
automaton::ArcFactoredDeterministicZAutomaton< SymbolType, unsigned > | rename (const automaton::ArcFactoredDeterministicZAutomaton< SymbolType, StateType > &a) |
Static Public Member Functions | |
template<class T > requires isDFA < T > || isNFA < T > | |
static Rename::RenamedAutomaton< T > | rename (const T &fsm) |
template<class T > requires isDFTA < T > || isNFTA < T > | |
static Rename::RenamedTreeAutomaton< T > | rename (const T &fta) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static automaton::DPDA< InputSymbolType, unsigned, unsigned > | rename (const automaton::DPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &pda) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static automaton::NPDA< InputSymbolType, unsigned, unsigned > | rename (const automaton::NPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &pda) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static automaton::SinglePopDPDA< InputSymbolType, unsigned, unsigned > | rename (const automaton::SinglePopDPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &pda) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static automaton::InputDrivenDPDA< InputSymbolType, unsigned, unsigned > | rename (const automaton::InputDrivenDPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &pda) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static automaton::VisiblyPushdownDPDA< InputSymbolType, unsigned, unsigned > | rename (const automaton::VisiblyPushdownDPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &pda) |
template<class InputSymbolType , class PushdownStoreSymbolType , class StateType > | |
static automaton::RealTimeHeightDeterministicDPDA< InputSymbolType, unsigned, unsigned > | rename (const automaton::RealTimeHeightDeterministicDPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &pda) |
template<class InputSymbolType , class StateType > | |
static automaton::ArcFactoredNondeterministicZAutomaton< InputSymbolType, unsigned > | rename (const automaton::ArcFactoredNondeterministicZAutomaton< InputSymbolType, StateType > &a) |
template<class InputSymbolType , class StateType > | |
static automaton::ArcFactoredDeterministicZAutomaton< InputSymbolType, unsigned > | rename (const automaton::ArcFactoredDeterministicZAutomaton< InputSymbolType, StateType > &a) |
Rename an automaton. Basically, we rename the automaton's properties (states, pushdown symbols, ...) to integer values in non-defined order.
Unlike Normalize, we can rename also nondeterministic automata as the order is not important.
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Rename automaton's states.
InputSymbolType | Type for input symbols |
StateType | Type for states |
a | z automaton to rename |
z
automaton with renamed states automaton::ArcFactoredDeterministicZAutomaton< SymbolType, unsigned > automaton::simplify::Rename::rename | ( | const automaton::ArcFactoredDeterministicZAutomaton< SymbolType, StateType > & | a | ) |
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Rename automaton's states.
InputSymbolType | Type for input symbols |
StateType | Type for states |
a | z automaton to rename |
z
automaton with renamed states automaton::ArcFactoredNondeterministicZAutomaton< SymbolType, unsigned > automaton::simplify::Rename::rename | ( | const automaton::ArcFactoredNondeterministicZAutomaton< SymbolType, StateType > & | a | ) |
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Rename automaton's states and pushdown store symbols.
InputSymbolType | Type for input symbols |
PushdownStoreSymbolType | Type of epsilon representation |
StateType | Type for states |
pda | pushdown automaton to rename |
pda
with renamed states and pushdown store symbols
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Rename automaton's states and pushdown store symbols.
InputSymbolType | Type for input symbols |
PushdownStoreSymbolType | Type of epsilon representation |
StateType | Type for states |
pda | pushdown automaton to rename |
pda
with renamed states and pushdown store symbols
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Rename automaton's states and pushdown store symbols.
InputSymbolType | Type for input symbols |
PushdownStoreSymbolType | Type of epsilon representation |
StateType | Type for states |
pda | pushdown automaton to rename |
pda
with renamed states and pushdown store symbols
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Rename automaton's states and pushdown store symbols.
InputSymbolType | Type for input symbols |
PushdownStoreSymbolType | Type of epsilon representation |
StateType | Type for states |
pda | pushdown automaton to rename |
pda
with renamed states and pushdown store symbols
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Rename automaton's states and pushdown store symbols.
InputSymbolType | Type for input symbols |
PushdownStoreSymbolType | Type of epsilon representation |
StateType | Type for states |
pda | pushdown automaton to rename |
pda
with renamed states and pushdown store symbols
|
static |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Rename automaton's states and pushdown store symbols.
InputSymbolType | Type for input symbols |
PushdownStoreSymbolType | Type of epsilon representation |
StateType | Type for states |
pda | pushdown automaton to rename |
pda
with renamed states and pushdown store symbols
|
static |
Rename automaton's states.
T | Type of automaton to rename |
nfa | finite automaton to rename |
dfa
with renamed states
|
static |
Rename automaton's states.
T | Type of tree automaton to rename |
fta | finite tree automaton to rename |
fta
with renamed states