[galib] Best individual

Serkan Guroglu serkang at superonline.com
Wed Jan 14 15:23:59 EST 2004


Hi,
 
I'm trying to minimize my objective function. For each generation, i
printed the fitness values of all individuals and the fitness value of
the best individual (ga.statistics().bestIndividual()). As it can be
seen below, best individual is not the one with the lowest fitness. How
is the best individual determined?
 
generation: 1, individual: 0, fitness: 55.000000 
generation: 1, individual: 1, fitness: 63.000000 
generation: 1, individual: 2, fitness: 61.000000 
generation: 1, individual: 3, fitness: 14.000000 
generation: 1, individual: 4, fitness: 61.000000 
generation: 1, individual: 5, fitness: 55.000000 
generation: 1, individual: 6, fitness: 9.000000 
generation: 1, individual: 7, fitness: 11.000000
 
generation: 1, best_individual fitness: 55.000000
 
Thanks,
Serkan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20040114/7918bef5/attachment.htm


More information about the galib mailing list