Ok, made an eoParetoFitness class, which meant that I could roll back a few changes in EO.h (phew).
Also changed eoSelectFromWorth etc.
This commit is contained in:
parent
cf8f6b5c16
commit
d09c216b61
11 changed files with 215 additions and 110 deletions
|
|
@ -62,6 +62,8 @@ class eoDominanceMap : public eoUF<const eoPop<EoType>&, void>, public std::vect
|
|||
fitnesses.clear();
|
||||
}
|
||||
|
||||
bool maximize(unsigned objective) const { return maximizes[objective]; }
|
||||
|
||||
/**
|
||||
Update or create the dominance map
|
||||
*/
|
||||
|
|
|
|||
Reference in a new issue