diff --git a/moeo/src/fitness/moeoExpBinaryIndicatorBasedDualFitnessAssignment.h b/moeo/src/fitness/moeoExpBinaryIndicatorBasedDualFitnessAssignment.h index 78c3d08fe..af57e372f 100644 --- a/moeo/src/fitness/moeoExpBinaryIndicatorBasedDualFitnessAssignment.h +++ b/moeo/src/fitness/moeoExpBinaryIndicatorBasedDualFitnessAssignment.h @@ -77,6 +77,41 @@ public: protected: using moeoExpBinaryIndicatorBasedFitnessAssignment::kappa; + using moeoExpBinaryIndicatorBasedFitnessAssignment::metric; + + + /** + * Sets the bounds for every objective using the min and the max value for every objective vector of _pop + * @param _pop the population + */ + void setup(const eoPop < MOEOT > & _pop) + { + Type worst, best; + typename MOEOT::ObjectiveVector::Type::Compare cmp; + + for (unsigned int i=0; i