[galib] Best Genomes

Rui Tavares rmt at uninova.pt
Fri Nov 4 09:53:17 EST 2005


I've done that before, but it gives an error. My guess is that it only 
saves one "best" genome and when i try to access the second, it fails.

If there is a way to keep several "best" genomes ... i didn't found how ...?

Sincerely,

    R. Santos Tavares.

Christian Samuel Perone wrote:

>Hello Rui, try calling something like this:
>
>when you call bestIndividual with no parameter,
>the default parameter assumes 0, that is the
>best, so you can call with parameter "1" to get
>the second best genome.
>
>ga.statistics().bestIndividual(1)
>
>Hope this help you.
>
>- Christian S. Perone
>
>--- Rui Tavares <rmt at uninova.pt> escreveu:
>
>  
>
>>Hi,
>>
>>I'm having difficulties keeping/accessing the two
>>best genomes. I'ld 
>>like to access the present best and the previous
>>best genomes.
>>I've looked into GAStatistics, but only gives me the
>>(one) best genome.
>>
>>Thanks in advance,
>>
>>    R. Santos Tavares
>>
>>_______________________________________________
>>galib mailing list
>>galib at mit.edu
>>http://mailman.mit.edu/mailman/listinfo/galib
>>
>>    
>>
>
>
>--------------------------------------------------------
>Christian S. Perone - christian_perone at yahoo.com.br
>"Time is the substance from which I am made. Time is a
>river which carries me along, but I am the river; it
>is a tiger that devours me, but I am the tiger; it is
>a fire that consumes me, but I am the fire."
>- Jorge Luis Borges
>
>
>	
>
>
>
>	
>		
>_______________________________________________________ 
>Yahoo! Acesso Grátis: Internet rápida e grátis. 
>Instale o discador agora!
>http://br.acesso.yahoo.com/
>
>
>
>  
>



More information about the galib mailing list