53 #if !defined(LIBEVOCOSM_LANDSCAPE_H)
54 #define LIBEVOCOSM_LANDSCAPE_H
79 template <
class OrganismType>
128 virtual double test(OrganismType & a_organism,
bool a_verbose =
false)
const = 0;
136 virtual double test(vector<OrganismType> & a_population)
const
140 for (
int n = 0; n < (int)a_population.size(); ++n)
142 a_population[n].fitness =
test(a_population[n]);
143 result += a_population[n].fitness;