45 template <
class SymbolType,
class StateType >
49template <
class SymbolType,
class StateType >
65 std::queue < ext::pair < StateType, StateType > >
q;
69 if ( state.first != state.second )
76 while ( !
q.empty ( ) ) {
81 const auto & srcState = transition.first.first;
83 if (
visited.count ( srcState ) == 0 ) {
Deterministic finite automaton. Accepts regular languages.
Definition: DFA.h:71
const ext::set< StateType > & getStates() const &
Definition: DFA.h:134
ext::map< ext::pair< StateType, SymbolType >, StateType > getTransitionsToState(const StateType &to) const
Definition: DFA.h:494
Definition: SynchronizingWordExistence.h:37
static bool exists(const automaton::DFA< SymbolType, StateType > &dfa)
Definition: SynchronizingWordExistence.h:50
Class extending the pair class from the standard library. Original reason is to allow printing of the...
Definition: pair.hpp:43
Definition: AllEpsilonClosure.h:44
q
Definition: SingleInitialStateEpsilonTransition.h:85