|
|
||||||
|
1_generator.cpp
Go to the documentation of this file.
245 // (by "existing event" we refer to an event that has been previously inserted to some Generator)
#define FAUDES_TEST_DUMP(mes, dat) Test protocol record macro ("mangle" filename for platform independance) Definition: cfl_helper.h:483 Iterator class for high-level api to TBaseSet. Definition: cfl_baseset.h:387 TBaseSet< Transition, TransSort::X1EvX2 >::Iterator Iterator Iterator on transition. Definition: cfl_transset.h:269 void DWrite(const Type *pContext=0) const Write configuration data to console, debugging format. Definition: cfl_types.cpp:225 void Read(const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0) Read configuration data from file with label specified. Definition: cfl_types.cpp:261 void FromString(const std::string &rString, const std::string &rLabel="", const Type *pContext=0) Read configuration data from a string. Definition: cfl_types.cpp:275 void Write(const Type *pContext=0) const Write configuration data to console. Definition: cfl_types.cpp:139 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 Idx InsMarkedState(void) Create new anonymous state and set as marked state. Definition: cfl_generator.cpp:1318 virtual void DDotWrite(const std::string &rFileName) const Writes generator to dot input format (no re-indexing). Definition: cfl_generator.cpp:3061 virtual vGenerator & Assign(const Type &rSrc) Copy from other faudes type. Definition: cfl_generator.cpp:287 std::string StatesToString(void) const Write stateset of this generator to a string (no re-indexing) Definition: cfl_generator.cpp:2814 EventSet ActiveEventSet(Idx x1) const Return active event set at state x1. Definition: cfl_generator.cpp:1938 const StateSet & InitStates(void) const Const ref to initial states. Definition: cfl_generator.cpp:1908 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 void InsEvents(const EventSet &events) Add new named events to generator. Definition: cfl_generator.cpp:1210 void ClrMarkedState(Idx index) Unset an existing state as marked state by index. Definition: cfl_generator.cpp:1543 bool EventRename(Idx event, const std::string &rNewName) Rename event in this generator. Definition: cfl_generator.cpp:867 EventSet::Iterator AlphabetBegin(void) const Iterator to Begin() of alphabet. Definition: cfl_generator.cpp:1047 StateSet TransRelStates(void) const Return the states covered by transitions. Definition: cfl_generator.cpp:1958 void SetInitState(Idx index) Set an existing state as initial state by index. Definition: cfl_generator.cpp:1432 StateSet AccessibleSet(void) const Compute set of accessible states. Definition: cfl_generator.cpp:1998 bool ExistsState(Idx index) const Test existence of state in state set. Definition: cfl_generator.cpp:1776 bool IsCoaccessible(void) const Check if generator is Coaccessible. Definition: cfl_generator.cpp:2103 std::string TStr(const Transition &rTrans) const Return pretty printable transition (eg for debugging) Definition: cfl_generator.cpp:3841 virtual void DotWrite(const std::string &rFileName) const Writes generator to dot input format. Definition: cfl_generator.cpp:3000 StateSet::Iterator StatesEnd(void) const Iterator to End() of state set. Definition: cfl_generator.cpp:1062 void ClrInitState(Idx index) Unset an existing state as initial state by index. Definition: cfl_generator.cpp:1468 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 ExistsEvent(Idx index) const Test existence of event in alphabet. Definition: cfl_generator.cpp:1756 std::string EStr(Idx index) const Pretty printable event name for index (eg for debugging). Definition: cfl_generator.cpp:3828 StateSet TerminalStates(void) const Compute set of terminal states. Definition: cfl_generator.cpp:2328 void SetMarkedState(Idx index) Set an existing state as marked state by index. Definition: cfl_generator.cpp:1507 Idx InsInitState(void) Create new anonymous state and set as initial state. Definition: cfl_generator.cpp:1287 bool ReindexOnWrite(void) const Test whether file-i/o uses minimal state indicees. Definition: cfl_generator.cpp:2391 bool StateNamesEnabled(void) const Whether libFAUEDS functions are requested to generate state names. Definition: cfl_generator.cpp:999 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 void GraphWrite(const std::string &rFileName, const std::string &rOutFormat="", const std::string &rDotExec="dot") const Produce graphical representation of this generator. Definition: cfl_generator.cpp:3847 virtual void Version(const std::string &rVersion, vGenerator &rResGen) const Create another version of this generator. Definition: cfl_generator.cpp:408 EventSet UsedEvents(void) const Return used events (executed in transitions) Definition: cfl_generator.cpp:1923 EventSet::Iterator AlphabetEnd(void) const Iterator to End() of alphabet. Definition: cfl_generator.cpp:1052 StateSet CoaccessibleSet(void) const Compute set of Coaccessible states. Definition: cfl_generator.cpp:2054 bool ExistsInitState(Idx index) const Test existence of state in mInitStates. Definition: cfl_generator.cpp:1796 std::string SStr(Idx index) const Return pretty printable state name for index (eg for debugging) Definition: cfl_generator.cpp:3834 bool ExistsMarkedState(Idx index) const Test existence of state in mMarkedStates. Definition: cfl_generator.cpp:1806 std::string AlphabetToString(void) const Write generators alphabet to string. Definition: cfl_generator.cpp:2523 StateSet SuccessorStates(Idx x1) const Return the successor states of state x1. Definition: cfl_generator.cpp:1969 Includes all libFAUDES headers, incl plugings libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |