Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <ToPrefixPushdownAutomaton.h>
Static Public Member Functions | |
template<class SymbolType , class StateType > | |
static automaton::DPDA< SymbolType, ext::variant< StateType, alphabet::BottomOfTheStackSymbol >, char > | convert (const automaton::ArcFactoredDeterministicZAutomaton< SymbolType, StateType > &afdza) |
template<class SymbolType , class StateType > | |
static automaton::NPDA< SymbolType, ext::variant< StateType, alphabet::BottomOfTheStackSymbol >, char > | convert (const automaton::ArcFactoredNondeterministicZAutomaton< SymbolType, StateType > &afnza) |
Converts a Z automaton (ZA) to a pushdown automaton (PDA) that reads linearised trees in their prefix bar notation.
|
static |
Performs the conversion of the deterministic FTA to the deterministic PDA
afdza | Deterministic finite tree automaton to convert |
|
static |
Performs the conversion of the nondeterministic FTA to the nondeterministic PDA.
afnza | Nondeterministic finite tree automaton to convert |