|
Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <ToFTAThompson.h>
Data Structures | |
| class | Formal |
Static Public Member Functions | |
| template<class SymbolType > | |
| static automaton::EpsilonNFTA< SymbolType, unsigned > | convert (const rte::FormalRTE< SymbolType > &rte) |
Converts regular tree expression to fta
Source: adapted from Extended Path Expressions for XML, Makoto Murata, 2001, Lemma 1, and Master Thesis, Polach Radomir, CTU FIT, 2011
|
inlinestatic |
Implements conversion of the regular tree expressions to a EpsilonNFTA using algorithm similar to Thompson's method of incremental construction.
| 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 |