60 template <
class SymbolType,
class StateType >
66 template <
class SymbolType,
class StateType >
72 template <
class SymbolType,
class StateType >
78 template <
class SymbolType,
class StateType >
84 template <
class SymbolType,
class StateType >
98 template <
class SymbolType,
class StateType >
104 template <
class SymbolType,
class StateType >
108template <
class SymbolType,
class StateType >
110 auto it = R.find ( key );
114template <
class SymbolType,
class StateType >
119template <
class SymbolType,
class StateType >
124template <
class SymbolType,
class StateType >
129template <
class SymbolType,
class StateType >
134template <
class SymbolType,
class StateType >
167 for (
const auto &
i :
automaton.getInitialStates ( ) ) {
168 for (
const auto & f :
automaton.getFinalStates ( ) ) {
177template <
class SymbolType,
class StateType >
184 for (
const auto & transition:
automaton.getTransitionsFromState ( from ) ) {
185 if ( transition.second == to ) {
186 if ( transition.first.second.is_epsilon ( ) )
Deterministic finite automaton. Accepts regular languages.
Definition: DFA.h:71
Epsilon nondeterministic finite automaton. Accepts regular languages.
Definition: EpsilonNFA.h:74
Epsilon nondeterministic finite automaton. Accepts regular languages.
Definition: MultiInitialStateEpsilonNFA.h:75
Nondeterministic finite automaton with multiple initial states. Accepts regular languages.
Definition: MultiInitialStateNFA.h:69
Nondeterministic finite automaton. Accepts regular languages.
Definition: NFA.h:66
Definition: ToRegExpKleene.h:51
static regexp::UnboundedRegExp< SymbolType > convert(const automaton::DFA< SymbolType, StateType > &automaton)
Definition: ToRegExpKleene.h:115
Represents the empty expression in the regular expression. The node can't have any children.
Definition: UnboundedRegExpEmpty.h:41
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
static regexp::UnboundedRegExp< SymbolType > optimize(const regexp::UnboundedRegExp< SymbolType > ®exp)
typename T::StateType StateType
Definition: ToGrammarLeftRG.h:64
p second
Definition: ToRegExpAlgebraic.h:126
ext::set< ext::pair< StateType, StateType > > ret(const ext::set< ext::pair< StateType, StateType > > &S, const DeterministicPushdownStoreSymbolType &pdaSymbol, const InputSymbolType &input, const N &nondeterministic)
Definition: RHDPDACommon.h:57
int i
Definition: AllEpsilonClosure.h:118
Definition: ToGrammar.h:31
Definition: converterCommon.hpp:8
constexpr auto make_pair(T1 &&x, T2 &&y)
Definition: pair.hpp:79