[galib] Print Individuals in the population

Edgar GL egalvan_99 at yahoo.com
Wed Oct 19 12:48:05 EDT 2005

I've a basic question. I changed example 1 which refers to genome of 2D. I would like to see each individual in the population. For this I have removed ga.evolve and i've wrote:
      if(ga.generation() % 1 == 0)
       for (i = 0; i < popsize; i++)
             cout << genome << "\n";
But I see the same individual, so  I guess I need to update the genome, do u know how to do it?

 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20051019/aed79c0a/attachment.htm

More information about the galib mailing list