|
|
||||||
|
mtc_1_generators.cpp
Go to the documentation of this file.
65 std::cout << std::endl << "# same MtcSystem, but read from file using the Read() method:" << std::endl << std::endl;
Container for colors: this is a NameSet with its own static symboltable. Definition: mtc_colorset.h:41 bool InsEvent(Idx index) Add an existing event to alphabet by index. Definition: cfl_agenerator.h:1094 bool SetTransition(Idx x1, Idx ev, Idx x2) Add a transition to generator by indices. Definition: cfl_agenerator.h:1197 Allows to create colored marking generators (CMGs) as the common five tupel consisting of alphabet,... Definition: mtc_generator.h:53 std::string ColorName(Idx colorIndex) const Look up the color name for a given color index. Definition: mtc_generator.h:1278 bool ExistsColor(Idx colorIndex) const Check if color exists in generator. Definition: mtc_generator.h:1256 void Colors(ColorSet &rColors) const Insert all colors used in the generator to a given ColorSet. Definition: mtc_generator.h:1180 void DelColor(Idx stateIndex, const std::string &rColorName) Remove color by name from an existing state specified by index. Definition: mtc_generator.h:1073 virtual void DotWrite(const std::string &rFileName) const Writes generator to dot input format. Definition: mtc_generator.h:1309 Idx ColorIndex(const std::string &rColorName) const Look up the color index for a given color name. Definition: mtc_generator.h:1283 Idx InsColoredState(const std::string &rStateName, const std::string &rColorName) Create a new named state and set the color rColorName. Definition: mtc_generator.h:915 void ClearStateAttributes() Clear all the generator's state attributes. Definition: mtc_generator.h:1620 Idx InsColor(Idx stateIndex, const std::string &rColorName) Insert a color by name into an existing state. Definition: mtc_generator.h:986 std::string CStr(Idx index) const Return pretty printable color name for index. Definition: mtc_generator.h:1288 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 Write(const Type *pContext=0) const Write configuration data to console. Definition: cfl_types.cpp:139 Idx InsInitState(void) Create new anonymous state and set as initial state. Definition: cfl_generator.cpp:1287 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 ClrStateAttribute(Idx index) Clear attribute for existing state. Definition: cfl_generator.cpp:1750 Includes all libFAUDES headers, incl plugings libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |