diff --git a/trunk/paradiseo-peo/tutorial/Lesson1/main.cpp b/trunk/paradiseo-peo/tutorial/Lesson1/main.cpp index 4137b97fb..7478eb329 100644 --- a/trunk/paradiseo-peo/tutorial/Lesson1/main.cpp +++ b/trunk/paradiseo-peo/tutorial/Lesson1/main.cpp @@ -103,5 +103,8 @@ int main( int __argc, char** __argv ) { peo :: finalize( ); // shutting down the ParadisEO-PEO environment + if(getNodeRank()==1) + std::cout<<"\n\nPopulation :\n"< -#define POP_SIZE 2 -#define NUM_GEN 2 +#define POP_SIZE 10 +#define NUM_GEN 100 #define CROSS_RATE 1.0 #define MUT_RATE 0.01 @@ -133,6 +133,9 @@ int main( int __argc, char** __argv ) { peo :: run( ); peo :: finalize( ); + + if(getNodeRank()==1) + std::cout<<"\n\nPopulation :\n"<