test de l'amelioration
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1891 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
71605439c2
commit
4cb18252cc
1 changed files with 6 additions and 1 deletions
|
|
@ -157,7 +157,11 @@ int main()
|
||||||
a.objectiveVector(obj);
|
a.objectiveVector(obj);
|
||||||
pop.push_back(a);
|
pop.push_back(a);
|
||||||
|
|
||||||
arch(pop);
|
for(int i=0; i< pop.size(); i++){
|
||||||
|
arch(pop[i]);
|
||||||
|
arch.print();
|
||||||
|
std::cout << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
moeo2DMinHypervolumeArchive< Solution >::iterator it;
|
moeo2DMinHypervolumeArchive< Solution >::iterator it;
|
||||||
it=arch.begin();
|
it=arch.begin();
|
||||||
|
|
@ -181,6 +185,7 @@ int main()
|
||||||
assert(it->objectiveVector()[1]==15);
|
assert(it->objectiveVector()[1]==15);
|
||||||
assert(it->fitness()==1000);
|
assert(it->fitness()==1000);
|
||||||
|
|
||||||
|
|
||||||
std::cout << "OK" << std::endl;
|
std::cout << "OK" << std::endl;
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue