You are right. FITNESS should be a field in each Individual. Fitness is something associated with an individual. Population should only keep track of the statistics of all the individuals in the population. Bad design choice; probably had a case of 'premature optimization' :)
Have Fun
In reply to Re: Re: Genetic Programming or breeding Perls
by gumpu
in thread Genetic Programming or breeding Perls
by gumpu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |