|
Go to the documentation of this file.
33 System plant1, sup1, plant2, sup2, reduced1, reduced2;
36 plant1. Read( "data/plant1.gen");
37 plant1. Write( "tmp_syn_3_plant1.gen");
38 sup1. Read( "data/sup1.gen");
39 sup1. Write( "tmp_syn_3_sup1.gen");
40 bool success = SupReduce(plant1,sup1,reduced1);
41 reduced2. Write( "tmp_syn_3_reduced1.gen");
43 std::cout << "##############################################\n";
44 std::cout << "# tutorial, supervisor reduction successful: " << success << std::endl;
46 std::cout << "##############################################\n";
49 plant2. Read( "data/plant2.gen");
50 plant2. Write( "tmp_syn_3_plant2.gen");
51 sup2. Read( "data/sup2.gen");
52 sup2. Write( "tmp_syn_3_sup2.gen");
53 success = SupReduce(plant2,sup2,reduced2);
54 reduced2. Write( "tmp_syn_3_reduced2.gen");
56 std::cout << "##############################################\n";
57 std::cout << "# tutorial, supervisor reduction successful: " << success << std::endl;
59 std::cout << "##############################################\n";
Generator with controllability attributes.
void DWrite(const Type *pContext=0) const Write configuration data to console, debugging format.
void Read(const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0) Read configuration data from file with label specified.
void Write(const Type *pContext=0) const Write configuration data to console.
bool SupReduce(const System &rPlantGen, const System &rSupGen, System &rReducedSup) Supervisor Reduction algorithm.
Includes all libFAUDES headers, incl plugings
libFAUDES resides within the namespace faudes.
libFAUDES 2.32b
--- 2024.03.01
--- c++ api documentaion by doxygen
|