55 template <
class SymbolType,
class StateType >
61 template <
class SymbolType,
class StateType >
68 requires isDFA < T > || isNFA < T >
72template <
class SymbolType,
class StateType >
82 for (
const auto & p :
automaton.getSymbolTransitions ( ) )
85 for(
const auto & p :
automaton.getEpsilonTransitions ( ) )
91template <
class SymbolType,
class StateType >
101 for (
const auto & p :
automaton.getTransitions ( ) )
106 alternation.
appendElement (
solver.solve ( initialSymbol ).getRegExp ( ).getStructure ( ) );
112requires isDFA < T > || isNFA < T >
Epsilon nondeterministic finite automaton. Accepts regular languages.
Definition: EpsilonNFA.h:74
Nondeterministic finite automaton with multiple initial states. Accepts regular languages.
Definition: MultiInitialStateNFA.h:69
Definition: ToRegExpAlgebraic.h:48
static regexp::UnboundedRegExp< typename T::SymbolType > convert(const T &automaton)
static regexp::UnboundedRegExp< SymbolType > convert(const automaton::EpsilonNFA< SymbolType, StateType > &automaton)
Definition: ToRegExpAlgebraic.h:73
Definition: RightRegularEquationSolver.h:16
Represents the alternation operator in the regular expression. The node can have 0 to n children in l...
Definition: UnboundedRegExpAlternation.h:44
void appendElement(UnboundedRegExpElement< SymbolType > &&element)
Definition: UnboundedRegExpAlternation.h:195
Represents the epsilon expression in the regular expression. The node can't have any children.
Definition: UnboundedRegExpEpsilon.h:41
Represents unbounded regular expression structure. Regular expression is stored as a tree of Unbounde...
Definition: UnboundedRegExpStructure.h:47
Represents the symbol in the regular expression. The can't have any children.
Definition: UnboundedRegExpSymbol.h:42
Unbounded regular expression represents regular expression. It describes regular languages....
Definition: UnboundedRegExp.h:80
equations::RightRegularEquationSolver< SymbolType, StateType > solver
Definition: ToRegExpAlgebraic.h:117
typename T::StateType StateType
Definition: ToGrammarLeftRG.h:64
typename T::SymbolType SymbolType
Definition: ReachableStates.h:176
q
Definition: SingleInitialStateEpsilonTransition.h:85
Definition: ToGrammar.h:31
Definition: converterCommon.hpp:8