tp_3_parallel.cpp

Go to the documentation of this file.
00001 
00013 #include "libfaudes.h"
00014 #include "tp_include.h"
00015 
00016 
00017 // for simplicity we make the faudes namespace available to our program
00018 
00019 using namespace faudes;
00020 
00021 
00022 
00024 // main program
00026 
00027 int main() {
00028 
00029   /***************************************************************
00030    * read two generators and perform parallel composition
00031    *
00032    ***************************************************************/
00033 
00034 
00035   tGenerator g1("data/tsimplemachine.gen");
00036   tGenerator g2("data/tbuffer.gen");
00037   tGenerator gres;
00038 
00039   TParallel(g1,g2,gres);
00040 
00041 
00042   std::cout << "######################################\n";
00043   std::cout << "# t simple machine with buffer  \n";
00044   gres.DWrite();
00045   std::cout << "######################################\n";
00046 
00047   gres.Write("tmp_tmachinewithbuffer.gen");
00048 
00049 
00050   return 0;
00051 }
00052 
00053 
00054 

Generated on Mon Nov 10 08:13:15 2008 for libFAUDES 2.11v by  doxygen 1.4.4