|
Go to the documentation of this file.
14 using namespace faudes;
33 plantA. Read( "data/3_hiofunctions/hio_simplemachine_A.gen");
34 plantA. GraphWrite( "tmp_hio_simplemachine_A.png");
37 std::stringstream errstr;
38 errstr << "plant A not in HioPlantForm.\n";
39 throw Exception( "simpleMachine", errstr.str(), 0);
48 SeA. Read( "data/3_hiofunctions/hio_simpleEnvConstr_A.gen");
51 std::cout<< "Warning: environment constraint A not in I/O constraint form.";
53 SeA. GraphWrite( "tmp_hio_simpleEnvConstr_A.png");
81 specA. Read( "data/3_hiofunctions/hio_simplespec_A.gen");
99 controllerA. Write( "tmp_hio_simpleController_A.gen");
100 controllerA. GraphWrite( "tmp_hio_simpleController_A.png");
119 plantB. Read( "data/3_hiofunctions/hio_simplemachine_B.gen");
120 plantB. GraphWrite( "tmp_hio_simplemachine_B.png");
123 std::stringstream errstr;
124 errstr << "plant B not in HioPlantForm.\n";
125 throw Exception( "simpleMachine", errstr.str(), 0);
134 SeB. Read( "data/3_hiofunctions/hio_simpleEnvConstr_B.gen");
136 std::cout<< "Warning: environment constraint B not in I/O constraint form.";
138 SeB. GraphWrite( "tmp_hio_simpleEnvConstr_B.png");
159 ioShuffleAB. Write( "tmp_hio_simpleHioShuffle_AB.gen");
160 ioShuffleAB. GraphWrite( "tmp_hio_simpleHioShuffle_AB.png");
165 Parallel(intConstrAB,SeA,intConstrAB);
166 Parallel(intConstrAB,SeB,intConstrAB);
186 HioEnvironment envAB( "data/3_hiofunctions/hio_simpleenvironment_AB.gen");
187 envAB. GraphWrite( "tmp_hio_simpleenvironment_AB.png");
195 SlAB. Read( "data/3_hiofunctions/hio_simpleEnvConstr_AB.gen");
197 std::cout<< "Warning: environment constraint AB not in I/O constraint form.";
199 SlAB. GraphWrite( "tmp_hio_simpleEnvConstr_AB.png");
214 specAB. Read( "data/3_hiofunctions/hio_simplespec_AB.gen");
215 specAB. GraphWrite( "tmp_hio_simplespec_AB.png");
232 controllerAB. Write( "tmp_hio_simpleController_AB.gen");
233 controllerAB. GraphWrite( "tmp_hio_simpleController_AB.png");
246 std::cout << "function: " << e. Where() << std::endl;
247 std::cout << "exception description: " << e. What() << std::endl;
248 std::cout << "exception id: " << e. Id() << std::endl;
libFAUDES 2.26g
--- 2015.08.17
--- c++ api documentaion by doxygen
|