|
|
||||||
|
mtc_redundantcolors.cpp
Go to the documentation of this file.
73 SearchScc(*sit, rCount, rGen, rNewStates, rSTACK, rStackStates, rDFN, rLOWLINK, rSccSet, rRoots);
131 SearchScc(*newStates.Begin(), count, rGen, newStates, stack, stackStates, DFN, LOWLINK, rSCCSet, rRoots);
193 TraverseUncontrollableBackwards(copyGen.ControllableEvents(),copyTransSet,criticalStates, *stIt);
199 // Fixed point iteration that alternately computes SCCs and removes states with outgoing uncontrollable
209 // otherwise, the SCCs can be used to construct a strongly nonblocking and controllable subbehavior of rGen that is
210 // blocking w.r.t. the potentially redundant color (just remove all transitions that leave the SCCs in G)
253 // the abstracted generator has at most as many states as the original generator with the overall alphabet
262 // if the current color can be removed, check the next colors (note that this is only possible if
277 else if(currentNumberStates == optimalNumberStates && reducedGen.Colors().Size() < rOptimalColors.Size() ){
282 rec_OptimalColorSet(reducedGen, colorVector, i + 1, rOptimalColors, optimalNumberStates, optimalNumberColors, rHighAlph, optimalAlph);
288 // rec_OptimalColorSet(rGen,rColorVector,colorNumber,rOptimalColors,rOptimalNumberStates,rOptimalNumberColors,rHighAlph,rOptimalHighAlph)
289 void rec_OptimalColorSet(const MtcSystem& rGen, const std::vector<Idx>& rColorVector, Idx colorNumber, ColorSet& rOptimalColors,
290 Idx& rOptimalNumberStates, Idx& rOptimalNumberColors, const EventSet& rHighAlph, EventSet& rOptimalHighAlph){
310 else if(currentNumberStates == rOptimalNumberStates && reducedGen.Colors().Size() < rOptimalColors.Size() ){
317 rec_OptimalColorSet(reducedGen, rColorVector, colorNumber + 1, rOptimalColors, rOptimalNumberStates, rOptimalNumberColors, rHighAlph, rOptimalHighAlph);
Definition: mtc_colorset.h:41 Definition: cfl_indexset.h:78 Definition: cfl_nameset.h:69 Definition: cfl_transset.h:242 TBaseSet< Transition, TransSort::X1EvX2 >::Iterator Iterator Definition: cfl_transset.h:273 const TaStateSet< StateAttr > & States(void) const Definition: cfl_agenerator.h:1365 const TaEventSet< EventAttr > & Alphabet(void) const Definition: cfl_agenerator.h:1360 const ATransSet & TransRel(void) const Definition: cfl_agenerator.h:1370 EventSet ControllableEvents(void) const Definition: cfl_cgenerator.h:1132 bool Controllable(Idx index) const Definition: cfl_cgenerator.h:1040 Definition: mtc_generator.h:53 bool ExistsColor(Idx colorIndex) const Definition: mtc_generator.h:1258 void DelColor(Idx stateIndex, const std::string &rColorName) Definition: mtc_generator.h:1075 Definition: cfl_generator.h:213 TransSet::Iterator TransRelBegin(void) const Definition: cfl_generator.cpp:1067 TransSet::Iterator TransRelEnd(void) const Definition: cfl_generator.cpp:1072 void OptimalColorSet(const MtcSystem &rGen, ColorSet &rOptimalColors, EventSet &rHighAlph) Definition: mtc_redundantcolors.cpp:242 void ColoredSCC(MtcSystem &rGen, ColorSet &rColors, std::set< StateSet > &rColoredSCCs) Definition: mtc_redundantcolors.cpp:140 bool ComputeSCC(const Generator &rGen, std::set< StateSet > &rSCCSet, StateSet &rRoots) Definition: mtc_redundantcolors.cpp:121 bool CheckRedundantColor(MtcSystem rGen, Idx redundantColor) Definition: mtc_redundantcolors.cpp:172 Int calcNaturalObserver(const Generator &rGen, EventSet &rHighAlph) Definition: op_observercomputation.cpp:433 Definition: cfl_agenerator.h:43 void rec_OptimalColorSet(const MtcSystem &rGen, const std::vector< Idx > &rColorVector, Idx colorNumber, ColorSet &rOptimalColors, Idx &rOptimalNumberStates, Idx &rOptimalNumberColors, const EventSet &rHighAlph, EventSet &rOptimalHighAlph) Definition: mtc_redundantcolors.cpp:289 void TraverseUncontrollableBackwards(const EventSet &rCAlph, TransSetX2EvX1 &rtransrel, StateSet &rCriticalStates, Idx current) Definition: syn_supcon.cpp:847 void SearchScc(const Idx vState, int &vRcount, const Generator &rGen, const SccFilter &rFilter, StateSet &rTodo, std::stack< Idx > &rStack, StateSet &rStackStates, std::map< const Idx, int > &rDfn, std::map< const Idx, int > &rLowLnk, std::list< StateSet > &rSccList, StateSet &rRoots) Definition: cfl_graphfncts.cpp:228 libFAUDES 2.33c --- 2025.05.15 --- c++ api documentaion by doxygen |