diff --git a/trunk/paradiseo-moeo/tutorial/Lesson1/Sch1.cpp b/trunk/paradiseo-moeo/tutorial/Lesson1/Sch1.cpp index f774f6f6b..a158a383c 100644 --- a/trunk/paradiseo-moeo/tutorial/Lesson1/Sch1.cpp +++ b/trunk/paradiseo-moeo/tutorial/Lesson1/Sch1.cpp @@ -128,8 +128,8 @@ int main (int argc, char *argv[]) nsgaII (pop); // extract first front of the final population using an moeoArchive (this is the output of nsgaII) - moeoArchive < Sch1 > arch; - arch.update (pop); + moeoUnboundedArchive < Sch1 > arch; + arch(pop); // printing of the final archive cout << "Final Archive" << endl; diff --git a/trunk/paradiseo-moeo/tutorial/Lesson2/FlowShopEA.cpp b/trunk/paradiseo-moeo/tutorial/Lesson2/FlowShopEA.cpp index d3e364520..af267f778 100644 --- a/trunk/paradiseo-moeo/tutorial/Lesson2/FlowShopEA.cpp +++ b/trunk/paradiseo-moeo/tutorial/Lesson2/FlowShopEA.cpp @@ -87,7 +87,7 @@ int main(int argc, char* argv[]) // initialization of the population eoPop& pop = do_make_pop(parser, state, init); // definition of the archive - moeoArchive arch; + moeoUnboundedArchive arch; // stopping criteria unsigned int maxGen = parser.createParam((unsigned int)(100), "maxGen", "Maximum number of gen.",'G',"Stopping criterion").value(); eoGenContinue term(maxGen); diff --git a/trunk/paradiseo-moeo/tutorial/Lesson3/FlowShopEA2.cpp b/trunk/paradiseo-moeo/tutorial/Lesson3/FlowShopEA2.cpp index bb1d0f09b..1752bab4f 100644 --- a/trunk/paradiseo-moeo/tutorial/Lesson3/FlowShopEA2.cpp +++ b/trunk/paradiseo-moeo/tutorial/Lesson3/FlowShopEA2.cpp @@ -87,7 +87,7 @@ int main(int argc, char* argv[]) // initialization of the population eoPop& pop = do_make_pop(parser, state, init); // definition of the archive - moeoArchive arch; + moeoUnboundedArchive arch; // stopping criteria eoContinue& term = do_make_continue_moeo(parser, state, eval); // output