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:
parent
a8723080f8
commit
afd7bdb03d
3 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ int main(int argc, char* argv[])
|
|||
// initialization of the population
|
||||
eoPop<FlowShop>& pop = do_make_pop(parser, state, init);
|
||||
// definition of the archive
|
||||
moeoArchive<FlowShop> arch;
|
||||
moeoUnboundedArchive<FlowShop> arch;
|
||||
// stopping criteria
|
||||
unsigned int maxGen = parser.createParam((unsigned int)(100), "maxGen", "Maximum number of gen.",'G',"Stopping criterion").value();
|
||||
eoGenContinue<FlowShop> term(maxGen);
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ int main(int argc, char* argv[])
|
|||
// initialization of the population
|
||||
eoPop<FlowShop>& pop = do_make_pop(parser, state, init);
|
||||
// definition of the archive
|
||||
moeoArchive<FlowShop> arch;
|
||||
moeoUnboundedArchive<FlowShop> arch;
|
||||
// stopping criteria
|
||||
eoContinue<FlowShop>& term = do_make_continue_moeo(parser, state, eval);
|
||||
// output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue