|
|
||||||
|
syn_compsyn.cpp
Go to the documentation of this file.
689 // <<gibt's ein solche MemberFunction von generator class, zwar lässt sich TransSet::Iterator nur durch ev auslesen??>>
690 // test whether all the transtions with the current event *eit that are in collected generators is only selfloop.
693 for(std::vector<GeneratorVector::Position>::iterator vit = PsubGens.begin(); vit != PsubGens.end(); ++vit){
694 for(TransSet::Iterator tit = rGenVec.At(*vit).TransRelBegin(); tit != rGenVec.At(*vit).TransRelEnd(); ++tit){
705 //when "remove" is true, remove all the transitions with current event that are only selfloop and minimize the Alphabet through remove the unused events
707 for(std::vector<GeneratorVector::Position>::iterator vit = PsubGens.begin(); vit != PsubGens.end(); ++vit){
708 for(TransSet::Iterator tit = rGenVec.At(*vit).TransRelBegin(); tit != rGenVec.At(*vit).TransRelEnd(); ){
1390 CompositionalSynthesisUnchecked(rPlantGenVec, rConAlph, rSpecGenVec, rMapEventsToPlant, rDisGenVec, rSupGenVec);
Definition: syn_compsyn.cpp:56 GeneratorVector * pDisGenVec keep reference to distinguisher-generator Definition: syn_compsyn.cpp:125 ComSyn(const GeneratorVector &rPlantGenVec, const EventSet &rConAlph, const GeneratorVector &rSpecGenVec, std::map< Idx, Idx > &rMapEventsToPlant, GeneratorVector &rDisGenVec, GeneratorVector &rSupGenVec) Constructer: construct the synthesis-buffer for running compositional synthesis algorithmus and initi... Definition: syn_compsyn.cpp:318 void SetPartUnion(const GeneratorVector &rGenVec, GeneratorVector::Position WithoutMe, EventSet &rRestAlph) the union of eventset from generators but without a speicified generator Definition: syn_compsyn.cpp:573 void Synthesis(void) Compositional Synthesis Algorithmus after Preprocess. Definition: syn_compsyn.cpp:462 void comsyn_ComputeBisimulation(Generator &rGen) adjust bisimulation relation to compositional synthesis Definition: syn_compsyn.cpp:587 void Preprocess(void) Preprocess: firstly abstract every generator in synthesis-buffer before running synthesis-algorithmus... Definition: syn_compsyn.cpp:385 void SymbolicName(Idx index, const std::string &rName) Set new name for existing index. Definition: cfl_nameset.cpp:400 virtual void InsertSet(const NameSet &rOtherSet) Inserts all elements of rOtherSet. Definition: cfl_nameset.cpp:295 Definition: syn_compsyn.cpp:977 SmallSize(const GeneratorVector &rGenVec) Definition: syn_compsyn.cpp:983 bool operator()(const std::vector< GeneratorVector::Position > rPosVec1, const std::vector< GeneratorVector::Position > rPosVec2) Definition: syn_compsyn.cpp:986 A SymbolTable associates sybolic names with indices. Definition: cfl_symboltable.h:61 std::string UniqueSymbol(const std::string &rName) const Create unique symbolic name by adding an underscore and extra digits. Definition: cfl_symboltable.cpp:114 Idx InsEntry(Idx index, const std::string &rName) Add new entry (aka symbolic name and index) to symboltable,. Definition: cfl_symboltable.cpp:138 Iterator class for high-level api to TBaseSet. Definition: cfl_baseset.h:387 std::vector< int >::size_type Position convenience typedef for positions Definition: cfl_basevector.h:623 Iterator EndByEv(Idx ev) const Iterator to first Transition after specified by event. Definition: cfl_transset.h:1334 Iterator BeginByX2(Idx x2) const Iterator to first Transition specified by successor state x2. Definition: cfl_transset.h:1385 Iterator BeginByEv(Idx ev) const Iterator to first Transition specified by event. Definition: cfl_transset.h:1323 Iterator EndByX2(Idx x2) const Iterator to first Transition after specified successor state x2. Definition: cfl_transset.h:1396 TBaseSet< Transition, TransSort::X1EvX2 >::Iterator Iterator Iterator on transition. Definition: cfl_transset.h:269 virtual Type & Assign(const Type &rSrc) Assign configuration data from other object. Definition: cfl_types.cpp:77 virtual void Replace(const Position &pos, const Type &rElem) Replace specified entry. Definition: cfl_basevector.cpp:206 StateSet::Iterator StatesBegin(void) const Iterator to Begin() of state set. Definition: cfl_generator.cpp:1057 const TransSet & TransRel(void) const Return reference to transition relation. Definition: cfl_generator.cpp:1888 bool SetTransition(Idx x1, Idx ev, Idx x2) Add a transition to generator by indices. Definition: cfl_generator.cpp:1626 const StateSet & MarkedStates(void) const Return const ref of marked states. Definition: cfl_generator.cpp:1913 const EventSet & Alphabet(void) const Return const reference to alphabet. Definition: cfl_generator.cpp:1878 virtual vGenerator & Assign(const Type &rSrc) Copy from other faudes type. Definition: cfl_generator.cpp:287 EventSet ActiveEventSet(Idx x1) const Return active event set at state x1. Definition: cfl_generator.cpp:1938 TransSet::Iterator TransRelBegin(void) const Iterator to Begin() of transition relation. Definition: cfl_generator.cpp:1067 void ClrTransition(Idx x1, Idx ev, Idx x2) Remove a transition by indices. Definition: cfl_generator.cpp:1660 SymbolTable * EventSymbolTablep(void) const Get Pointer to EventSymbolTable currently used by this vGenerator. Definition: cfl_generator.cpp:813 void ClrTransitions(Idx x1, Idx ev) Remove a transitions by state and event. Definition: cfl_generator.cpp:1679 StateSet BlockingStates(void) const Compute set of blocking states. Definition: cfl_generator.cpp:2148 bool ExistsState(Idx index) const Test existence of state in state set. Definition: cfl_generator.cpp:1776 StateSet::Iterator MarkedStatesBegin(void) const Iterator to Begin() of mMarkedStates. Definition: cfl_generator.cpp:1160 bool DelEventFromAlphabet(Idx index) Delete event from alphabet without consistency check. Definition: cfl_generator.cpp:1240 StateSet::Iterator StatesEnd(void) const Iterator to End() of state set. Definition: cfl_generator.cpp:1062 void DelStates(const StateSet &rDelStates) Delete a set of states Cleans mpStates, mInitStates, mMarkedStates, mpTransrel, and mpStateSymboltabl... Definition: cfl_generator.cpp:1381 TransSet::Iterator TransRelEnd(void) const Iterator to End() of transition relation. Definition: cfl_generator.cpp:1072 bool IsDeterministic(void) const Check if generator is deterministic. Definition: cfl_generator.cpp:2367 bool ExistsEvent(Idx index) const Test existence of event in alphabet. Definition: cfl_generator.cpp:1756 bool InsEvent(Idx index) Add an existing event to alphabet by index. Definition: cfl_generator.cpp:1198 void SetDefaultStateNames(void) Assign each state a default name based on its index. Definition: cfl_generator.cpp:1015 Includes all libFAUDES headers, no plugins. void SetDifference(const TBaseSet< T, Cmp > &rSetA, const TBaseSet< T, Cmp > &rSetB, TBaseSet< T, Cmp > &rRes) Definition: cfl_baseset.h:1078 void SetUnion(const TBaseSet< T, Cmp > &rSetA, const TBaseSet< T, Cmp > &rSetB, TBaseSet< T, Cmp > &rRes) Definition: cfl_baseset.h:1019 void SetIntersection(const TBaseSet< T, Cmp > &rSetA, const TBaseSet< T, Cmp > &rSetB, TBaseSet< T, Cmp > &rRes) Definition: cfl_baseset.h:1049 void ComputeBisimulation(const Generator &rGenOrig, map< Idx, Idx > &rMapStateToPartition) Computation of the coarsest bisimulation relation for a specified generator. Definition: cfl_bisimulation.cpp:1272 void aParallel(const Generator &rGen1, const Generator &rGen2, Generator &rResGen) Parallel composition. Definition: cfl_parallel.cpp:51 void Parallel(const Generator &rGen1, const Generator &rGen2, Generator &rResGen) Parallel composition. Definition: cfl_parallel.cpp:32 void CompositionalSynthesis(const GeneratorVector &rPlantGenVec, const EventSet &rConAlph, const GeneratorVector &rSpecGenVec, std::map< Idx, Idx > &rMapEventsToPlant, GeneratorVector &rDisGenVec, GeneratorVector &rSupGenVec) Compositional synthesis. Definition: syn_compsyn.cpp:1379 void ComputeSynthObsEquiv(const Generator &rGenOrig, const EventSet &rConAlph, const EventSet &rLocAlph, std::map< Idx, Idx > &rMapStateToPartition, Generator &rResGen) Synthesis-observation equivalence. Definition: syn_synthequiv.cpp:916 void SingleTransSpec(const Generator &rSpecGen, const EventSet &rUncAlph, Generator &rResGen) Definition: syn_compsyn.cpp:604 void CompositionalSynthesisUnchecked(const GeneratorVector &rPlantGenVec, const EventSet &rConAlph, const GeneratorVector &rSpecGenVec, std::map< Idx, Idx > &rMapEventsToPlant, GeneratorVector &rDisGenVec, GeneratorVector &rSupGenVec) Compositional synthesis. Definition: syn_compsyn.cpp:1361 void TransSpec(const GeneratorVector &rSpecGenVec, const EventSet &rGUncAlph, GeneratorVector &rResGenVec) translate specification into plant Definition: syn_compsyn.cpp:649 void SelectSubsystem_V2(GeneratorVector &rGenVec, Generator &rResGen) Definition: syn_compsyn.cpp:1100 void SplittGen(Generator &rGen, Idx parent, const std::vector< Idx > &kids) subfunction for Splitter: splitt the events in a generator Definition: syn_compsyn.cpp:856 void SelectSubsystem_V1(GeneratorVector &rGenVec, Generator &rResGen) heuristic: vorious approaches to select subsystem from synthesis-buffer then compose them and remove ... Definition: syn_compsyn.cpp:1032 bool BiggerMax(std::vector< GeneratorVector::Position > &rCandidate, GeneratorVector &rGenVec) Definition: syn_compsyn.cpp:1013 void MakeDistinguisher(Generator &AbstGen, std::map< Idx, Idx > &rMapStateToPartition, Generator &OrigGen, std::map< Idx, std::vector< Idx > > &rMapOldToNew) make a distinguisher and a map for solving nondeterminism and rewrite abstracted automaton Definition: syn_compsyn.cpp:753 void H_tocollect(StateSet &rBlockingstates, const TransSetX2EvX1 &rRtrel, const EventSet &rLouc, const EventSet &rShuc, TransSetX2EvX1 &rToredirect) Definition: syn_compsyn.cpp:1184 void LocalSelfloop(Generator &rGen, EventSet &rLocAlph) remove the events from a generator which have only selfloop transitions Definition: syn_compsyn.cpp:725 void ControlProblemConsistencyCheck(const GeneratorVector &rPlantGenVec, const EventSet &rConAlph, const GeneratorVector &rSpecGenVec) Compositional synthesis. Definition: syn_compsyn.cpp:1301 void GlobalSelfloop(GeneratorVector &rGenVec) remove the events from the entire buffer which have only selfloop transitions Definition: syn_compsyn.cpp:673 void ComputeWSOE(const Generator &rGenOrig, const EventSet &rConAlph, const EventSet &rLocAlph, std::map< Idx, Idx > &rMapStateToPartition, Generator &rResGen) weak synthesis obeservation equivalence [not implemented] void Splitter(const std::map< Idx, std::vector< Idx > > &rMapOldToNew, EventSet &rConAlph, GeneratorVector &rGenVec, std::map< Idx, Idx > &rMapEventsToPlant, GeneratorVector &rDisGenVec, GeneratorVector &rSupGenVec) update the generators in synthesis-buffer and in supervisor with new events Definition: syn_compsyn.cpp:898 void ComputeHSupConNB(const Generator &rOrigGen, const EventSet &rConAlph, const EventSet &rLocAlph, Generator &rHSupGen) halbway-synthesis Definition: syn_compsyn.cpp:1225 Compositional synthesis. Synthesis-observation equivalence. libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |