[galib] Getting several genomes of only 0's...

David Love wvpryde at hotmail.com
Thu Jan 3 18:14:56 EST 2008




> Hello, David,
>
> There is something weird in your code. Are you sure it is compiling?
> For example, the compiler should complain about the line:
>
> GA1DArrayGenome& genome = (GA1DArrayGenome&)g;
>
> since GA1DArrayGenome is a template class. The line should instead read :
>
>
> GA1DArrayGenome<float>& genome = (GA1DArrayGenome<float>&)g;
>
>
> Meanwhile, I could'n figure out why your genomes are being populated
> with zeros.
> What about the variable "minwidth"? Where its value comes from?
>
>
> Good luck
>
>
> Anselmo

Hi again Anselmo,

Sorry for the second e-mail, but the part of the code you commented on doesn't seem to be sending correctly.  All declarations of GA1DArrayGenome are specified as floats, but for some reason that keeps getting removed from what is sent (maybe I have this set to parse HTML, but I don't see an option to change it).

David
_________________________________________________________________
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007



More information about the galib mailing list