Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <ToPostfixPushdownAutomaton.h>
Static Public Member Functions | |
template<class SymbolType , class StateType > | |
static automaton::DPDA< ext::variant< common::ranked_symbol< SymbolType >, alphabet::EndSymbol >, ext::variant< StateType, alphabet::BottomOfTheStackSymbol >, char > | convert (const automaton::DFTA< SymbolType, StateType > &dfta) |
template<class SymbolType , class StateType > | |
static automaton::NPDA< ext::variant< common::ranked_symbol< SymbolType >, alphabet::EndSymbol >, ext::variant< StateType, alphabet::BottomOfTheStackSymbol >, char > | convert (const automaton::NFTA< SymbolType, StateType > &nfta) |
Converts a finite tree automaton (FTA) to a pushdown automaton (PDA) that reads linearised trees in their postfix notation.
|
static |
Performs the conversion of the deterministic FTA to the deterministic PDA
dfta | Deterministic finite tree automaton to convert |
|
static |
Performs the conversion of the nondeterministic FTA to the nondeterministic PDA.
nfta | Nondeterministic finite tree automaton to convert |