Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <ToAutomaton.h>
Static Public Member Functions | |
template<class SymbolType > | |
static automaton::NFA< SymbolType, ext::pair< SymbolType, unsigned > > | convert (const regexp::FormalRegExp< SymbolType > ®exp) |
template<class SymbolType > | |
static automaton::NFA< SymbolType, ext::pair< SymbolType, unsigned > > | convert (const regexp::UnboundedRegExp< SymbolType > ®exp) |
Conversion of regular expression to finite automata. This class serves as a "default wrapper" over the conversion of RE to FA. It delegates to the glushkov conversion algorithm.
|
static |
Converts the regular expression into an automaton (
SymbolType | the type of regular expression |
regexp | the regular expression |
|
static |
Converts the regular expression into an automaton (
SymbolType | the type of regular expression |
regexp | the regular expression |