Generic ObjectiveVector types

This commit is contained in:
Johann Dreo 2013-06-07 12:43:09 +02:00
commit 9787d4d89c
5 changed files with 40 additions and 8 deletions

View file

@ -109,7 +109,7 @@ public:
* @param _set2 the second vector of objective vectors
*/
void setup(const std::vector < ObjectiveVector > & _set1, const std::vector < ObjectiveVector > & _set2){
double min, max;
typename ObjectiveVector::Type min, max;
unsigned int nbObj=ObjectiveVector::Traits::nObjectives();
bounds.resize(nbObj);
for (unsigned int i=0; i<nbObj; i++){