#include <ToRegExpStateElimination.h>
Converts a finite automaton to a regular expression using using the State Elimination algorithm (Melichar: Jazyky a překlady 2.118). This algorithm returns the regular expression as regexp::UnboundedRegExp.
◆ convert()
template<class T >
regexp::UnboundedRegExp< typename T::SymbolType > automaton::convert::ToRegExpStateElimination::convert |
( |
const T & |
automaton | ) |
|
|
static |
Performs conversion.
- Template Parameters
-
T | type of the finite automaton |
SymbolType | the type of input symbols of the accepted automaton |
StateType | the type of states of the accepted automaton |
- Parameters
-
automaton | finite automaton to convert |
- Returns
- unbounded regular expression equivalent to the original automaton
The documentation for this class was generated from the following file: