How to access a single bit of GAStatistics::bestIndividual()??
snitin77 at hotmail.com
Sun Nov 17 20:52:34 EST 2002
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
----- 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
> 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,
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
> galib mailing list
> galib at mit.edu
More information about the galib