39 for(
const auto& transition : fsm.getTransitions())
40 reversedTransitions [ transition.second ].
insert(transition.first.first);
45 while( !queue.empty() ) {
50 if(
visited.insert(process).second) {
51 queue.push_back(std::move(
const_cast<StateType&
>(process)));
Definition: UsefulStates.h:25
static ext::set< typename T::StateType > usefulStates(const T &fsm)
Definition: UsefulStates.h:35
Class extending the deque class from the standard library. Original reason is to allow printing of th...
Definition: deque.hpp:44
Class extending the map class from the standard library. Original reason is to allow printing of the ...
Definition: map.hpp:48
std::pair< iterator, bool > insert(const T &key, const R &value)
Insert variant with explicit key and value parameters.
Definition: map.hpp:118
typename T::StateType StateType
Definition: ToGrammarLeftRG.h:64
Definition: ToGrammar.h:31