#include //----------------------------------------------------------------------------- /** Just a simple function that takes an eoEsBase and sets the fitnes to sphere @param _ind vector */ double real_value(const std::vector& _ind) { double sum = 0; for (unsigned i = 0; i < _ind.size(); i++) sum += _ind[i] * _ind[i]; return sqrt(sum); }