How to access a single bit of GAStatistics::bestIndividual()??

Nitin Skandan snitin77 at hotmail.com
Sun Nov 17 20:52:34 EST 2002


Iku
there are methods availble in GAGenome type class to read the individual
elements of the genome arrays ..so u can create a new object of the same
type dynamicaly and then store it. I thk its somethg like
...chromesome.gene[i]. Please go thorugh the documentation

Nitins
----- Original Message -----
From: S. YU <iku713 at yahoo.com>
To: <galib at mit.edu>
Sent: Monday, November 18, 2002 1:12 AM
Subject: How to access a single bit of GAStatistics::bestIndividual()??


> Dear GAlib-ers:
> After I get the bestIndividual, it's a 100-bit binary
> string, and I want to read this bestIndividual and
> write
> it to another  array, so that I can access the single
> bit. But can I do that,since the bestIndividual is
> GAGenome type.
> Thanks for your help,
> S.Yu
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
> http://webhosting.yahoo.com
> _______________________________________________
> galib mailing list
> galib at mit.edu
> http://lancet.mit.edu/mailman/listinfo/galib
>



More information about the galib mailing list