|
Go to the documentation of this file.
23 using namespace faudes;
39 HioPlant tempgen, machine1, machine2;
40 tempgen. Read( "data/1_introduction/hio_simplemachine_intro.gen");
43 machine1. Write( "tmp_hio_machine1_intro.gen");
44 machine1. GraphWrite( "tmp_hio_machine1_intro.png");
45 machine2. Write( "tmp_hio_machine2_intro.gen");
46 machine2. GraphWrite( "tmp_hio_machine2_intro.png");
71 Project(plant,yp1+yp2+up1+up2,tempgen);
72 tempgen. SetYp(yp1+yp2);
73 tempgen. SetUp(up1+up2);
74 tempgen. Name( "HioShuffle(Simple Machine_1,Simple Machine_2)");
75 tempgen. Write( "tmp_hio_ioshuffle_intro.gen");
76 tempgen. GraphWrite( "tmp_hio_ioshuffle_intro.png");
78 HioConstraint ioconstr( "data/1_introduction/hio_ioconstraint_intro.gen");
85 HioConstraint spec( "data/1_introduction/hio_specification_intro.gen");
86 spec. Write( "tmp_hio_specification_intro.gen");
87 spec. GraphWrite( "tmp_hio_specification_intro.png");
110 HioSynthUnchecked(plant,dummy_spec,dummy_constraint,spec,dummy_yc,dummy_uc,yp1+yp2,up1+up2,plant. YeEvents(),plant. UeEvents(),controller);
113 Project(controller,yp1+up1+yp2+up2,controller);
115 controller. SetYp(yp1+yp2);
116 controller. SetUp(up1+up2);
117 controller. Write( "tmp_hio_controller_intro.gen");
123 Parallel(plant,controller,closedloop);
125 Project(closedloop,yp1+up1+yp2+up2,closedloop);
126 closedloop. Write( "tmp_hio_closedloop_intro.gen");
135 alphabeta. Insert( "alpha_1");
136 alphabeta. Insert( "alpha_2");
137 alphabeta. Insert( "beta_1");
138 alphabeta. Insert( "beta_2");
139 Project(closedloop,alphabeta,supervisor);
140 supervisor. Write( "tmp_hio_physical_intro.gen");
libFAUDES 2.28c
--- 2016.09.30
--- c++ api documentaion by doxygen
|