git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1553 331e1502-861f-0410-8da2-ba01fb791d7f

This commit is contained in:
jhumeau 2009-03-17 09:29:49 +00:00
commit 57007ca1e4
6 changed files with 92 additions and 206 deletions

View file

@ -44,29 +44,9 @@
#include <set>
#include <iostream>
#include <moeoNumberUnvisitedSelect.h>
#include <moeoTestClass.h>
//-----------------------------------------------------------------------------
class ObjectiveVectorTraits : public moeoObjectiveVectorTraits
{
public:
static bool minimizing (int i)
{
return true;
}
static bool maximizing (int i)
{
return false;
}
static unsigned int nObjectives ()
{
return 2;
}
};
typedef moeoRealObjectiveVector < ObjectiveVectorTraits > ObjectiveVector;
typedef MOEO < ObjectiveVector, double, double > Solution;
//-----------------------------------------------------------------------------
int main()