Replace old archive by moeoUnboundedArchive.

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1198 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
jhumeau 2008-05-28 13:32:46 +00:00
commit afd7bdb03d
3 changed files with 4 additions and 4 deletions

View file

@ -128,8 +128,8 @@ int main (int argc, char *argv[])
nsgaII (pop); nsgaII (pop);
// extract first front of the final population using an moeoArchive (this is the output of nsgaII) // extract first front of the final population using an moeoArchive (this is the output of nsgaII)
moeoArchive < Sch1 > arch; moeoUnboundedArchive < Sch1 > arch;
arch.update (pop); arch(pop);
// printing of the final archive // printing of the final archive
cout << "Final Archive" << endl; cout << "Final Archive" << endl;

View file

@ -87,7 +87,7 @@ int main(int argc, char* argv[])
// initialization of the population // initialization of the population
eoPop<FlowShop>& pop = do_make_pop(parser, state, init); eoPop<FlowShop>& pop = do_make_pop(parser, state, init);
// definition of the archive // definition of the archive
moeoArchive<FlowShop> arch; moeoUnboundedArchive<FlowShop> arch;
// stopping criteria // stopping criteria
unsigned int maxGen = parser.createParam((unsigned int)(100), "maxGen", "Maximum number of gen.",'G',"Stopping criterion").value(); unsigned int maxGen = parser.createParam((unsigned int)(100), "maxGen", "Maximum number of gen.",'G',"Stopping criterion").value();
eoGenContinue<FlowShop> term(maxGen); eoGenContinue<FlowShop> term(maxGen);

View file

@ -87,7 +87,7 @@ int main(int argc, char* argv[])
// initialization of the population // initialization of the population
eoPop<FlowShop>& pop = do_make_pop(parser, state, init); eoPop<FlowShop>& pop = do_make_pop(parser, state, init);
// definition of the archive // definition of the archive
moeoArchive<FlowShop> arch; moeoUnboundedArchive<FlowShop> arch;
// stopping criteria // stopping criteria
eoContinue<FlowShop>& term = do_make_continue_moeo(parser, state, eval); eoContinue<FlowShop>& term = do_make_continue_moeo(parser, state, eval);
// output // output