bugfix: call mother constructor of moeoHypervolumeBinaryMetric
Thus the default bounds are initialized.
This commit is contained in:
parent
7a4bc3e6d3
commit
379f71f288
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ class moeoHypervolumeBinaryMetric : public moeoNormalizedSolutionVsSolutionBinar
|
||||||
* Ctor
|
* Ctor
|
||||||
* @param _rho value used to compute the reference point from the worst values for each objective (default : 1.1)
|
* @param _rho value used to compute the reference point from the worst values for each objective (default : 1.1)
|
||||||
*/
|
*/
|
||||||
moeoHypervolumeBinaryMetric(double _rho = 1.1) : rho(_rho)
|
moeoHypervolumeBinaryMetric(double _rho = 1.1) : moeoNormalizedSolutionVsSolutionBinaryMetric<ObjectiveVector, double>(), rho(_rho)
|
||||||
{
|
{
|
||||||
// not-a-maximization problem check
|
// not-a-maximization problem check
|
||||||
for (unsigned int i=0; i<ObjectiveVector::Traits::nObjectives(); i++)
|
for (unsigned int i=0; i<ObjectiveVector::Traits::nObjectives(); i++)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue