43 template <
class StateType >
49 if ( finals.count ( a ) != finals.count ( b ) ) {
68 template <
class SymbolType,
class StateType >
71 template <
class SymbolType,
class StateType >
74 template <
class SymbolType,
class StateType >
78template <
class SymbolType,
class StateType >
113template <
class SymbolType,
class StateType >
127 for (
size_t i = 0;
i < transition.first.second.size ( ); ++
i ) {
128 if ( transition.first.second [
i ] == a ) {
151template <
class SymbolType,
class StateType >
165 for (
const StateType & state : transition.first.second ) {
168 copy.erase ( copy.find ( state ) );
Deterministic finite automaton. Accepts regular languages.
Definition: DFA.h:71
const ext::set< StateType > & getFinalStates() const &
Definition: DFA.h:183
const ext::map< ext::pair< StateType, SymbolType >, StateType > & getTransitions() const &
Definition: DFA.h:473
const ext::set< SymbolType > & getInputAlphabet() const &
Definition: DFA.h:232
const ext::set< StateType > & getStates() const &
Definition: DFA.h:134
Nondeterministic finite tree automaton without epsilon transitions. Accepts regular tree languages.
Definition: DFTA.h:74
const ext::map< ext::pair< common::ranked_symbol< SymbolType >, ext::vector< StateType > >, StateType > & getTransitions() const &
Definition: DFTA.h:289
const ext::set< StateType > & getFinalStates() const &
Definition: DFTA.h:154
const ext::set< StateType > & getStates() const &
Definition: DFTA.h:105
Deterministic unordered finite tree automaton without epsilon transitions. Accepts regular tree langu...
Definition: UnorderedDFTA.h:72
const ext::map< ext::pair< common::ranked_symbol< SymbolType >, ext::multiset< StateType > >, StateType > & getTransitions() const &
Definition: UnorderedDFTA.h:287
const ext::set< StateType > & getFinalStates() const &
Definition: UnorderedDFTA.h:152
const ext::set< StateType > & getStates() const &
Definition: UnorderedDFTA.h:103
Definition: DistinguishableStates.h:42
static ext::set< ext::pair< StateType, StateType > > distinguishable(const automaton::DFA< SymbolType, StateType > &fsm)
Definition: DistinguishableStates.h:79
Definition: ranked_symbol.hpp:20
Definition: multiset.hpp:44
Class extending the pair class from the standard library. Original reason is to allow printing of the...
Definition: pair.hpp:43
Class extending the vector class from the standard library. Original reason is to allow printing of t...
Definition: vector.hpp:45
typename T::StateType StateType
Definition: ToGrammarLeftRG.h:64
p second
Definition: ToRegExpAlgebraic.h:126
int i
Definition: AllEpsilonClosure.h:118
typename T::SymbolType SymbolType
Definition: ReachableStates.h:176
Definition: ToGrammar.h:31
constexpr auto make_pair(T1 &&x, T2 &&y)
Definition: pair.hpp:79