Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <ToPostfixPushdownAutomatonGlushkov.h>
Static Public Member Functions | |
template<class SymbolType > | |
static automaton::NPDA< ext::variant< common::ranked_symbol< SymbolType >, alphabet::EndSymbol >, ext::variant< ext::set< common::ranked_symbol< ext::pair< SymbolType, unsigned > > >, alphabet::BottomOfTheStackSymbol >, char > | convert (const rte::FormalRTE< SymbolType > &rte) |
Converts regular tree expression to a real-time height-deterministic pda
Sources:
|
static |
Implements conversion of the regular tree expressions to a real-time height-deterministic pushdown automaton using algorithm similar to Glushkov's method of neighbours.
SymbolType | the type of symbols in the regular expression |
RankType | the type of symbol ranks in the regular expression |
rte | the converted regexp to convert |