2#include "OneMaxEvalOp.h"
19 for(uint i = 0; i<bitstr->bits.size(); i++){
20 if(bitstr->bits[i] ==
true)
23 fitness->setValue(ones);
BitString class - implements genotype as a series of bits.
Fitness for maximization problems.
FitnessP evaluate(IndividualP individual)
Evaluate a single individual. Method must create and return a Fitness object.