update comparators

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@307 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
liefooga 2007-06-18 15:35:35 +00:00
commit 0886bab551

View file

@ -68,9 +68,9 @@ public:
*/
static double tiny()
{
return 1e-6;
return 1e-6;
}
protected:
@ -193,8 +193,8 @@ public:
double operator()(const ObjectiveVector & _o1, const ObjectiveVector & _o2)
{
double result;
// if _o1 dominates _o2
if ( paretoComparator(_o1,_o2) )
// if _o2 is dominated by _o1
if ( paretoComparator(_o2,_o1) )
{
result = - hypervolume(_o1, _o2, ObjectiveVector::Traits::nObjectives()-1);
}