|
|
||||||
|
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:1096 bool SetTransition(Idx x1, Idx ev, Idx x2) Add a transition to generator by indices. Definition: cfl_agenerator.h:1199 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:1280 bool ExistsColor(Idx colorIndex) const Check if color exists in generator. Definition: mtc_generator.h:1258 void Colors(ColorSet &rColors) const Insert all colors used in the generator to a given ColorSet. Definition: mtc_generator.h:1182 void DelColor(Idx stateIndex, const std::string &rColorName) Remove color by name from an existing state specified by index. Definition: mtc_generator.h:1075 virtual void DotWrite(const std::string &rFileName) const Writes generator to dot input format. Definition: mtc_generator.h:1311 Idx ColorIndex(const std::string &rColorName) const Look up the color index for a given color name. Definition: mtc_generator.h:1285 Idx InsColoredState(const std::string &rStateName, const std::string &rColorName) Create a new named state and set the color rColorName. Definition: mtc_generator.h:917 void ClearStateAttributes() Clear all the generator's state attributes. Definition: mtc_generator.h:1622 Idx InsColor(Idx stateIndex, const std::string &rColorName) Insert a color by name into an existing state. Definition: mtc_generator.h:988 std::string CStr(Idx index) const Return pretty printable color name for index. Definition: mtc_generator.h:1290 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.32f --- 2024.12.22 --- c++ api documentaion by doxygen |