Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <ToGrammarRightRGGlushkov.h>
Static Public Member Functions | |
template<class SymbolType > | |
static grammar::RightRG< SymbolType, ext::pair< SymbolType, unsigned > > | convert (const regexp::FormalRegExp< SymbolType > ®exp) |
template<class SymbolType > | |
static grammar::RightRG< SymbolType, ext::pair< SymbolType, unsigned > > | convert (const regexp::UnboundedRegExp< SymbolType > ®exp) |
Converts regular expression to right regular grammar using Glushkov algorithm of neighbours. Source: None yet.
|
static |
Implements conversion of regular expressions to finite automata using Glushkov's method of neighbours.
SymbolType | the type of symbols in the regular expression |
regexp | the regexp to convert |
|
static |
\override