Added a constructor from a vector<double> - mandatory in all applications
This commit is contained in:
parent
448a5189fd
commit
5fbbe4c9e9
1 changed files with 4 additions and 0 deletions
|
|
@ -113,6 +113,10 @@ public :
|
||||||
|
|
||||||
eoParetoFitness(void) : std::vector<double>(FitnessTraits::nObjectives(),0.0) {}
|
eoParetoFitness(void) : std::vector<double>(FitnessTraits::nObjectives(),0.0) {}
|
||||||
|
|
||||||
|
// Ctr from a vector<double>
|
||||||
|
eoParetoFitness(std::vector<double> & _v) : std::vector<double>(_v) {}
|
||||||
|
|
||||||
|
|
||||||
/** access to the traits characteristics (so you don't have to write
|
/** access to the traits characteristics (so you don't have to write
|
||||||
* a lot of typedef's around
|
* a lot of typedef's around
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Reference in a new issue