Help with GA1DArrayAlleleGenome and Alleles
Filiborion@gmx.de
Filiborion at gmx.de
Tue Jan 21 14:22:40 EST 2003
Hallo,
> I'm having some trouble (perhaps understanding) using the
> GA1DArrayAlleleGenome. I have instantiated a GAAlleleSet<long> alleles(0,
> 100); and passed that to the GA1DArrayAlleleGenome constructor. I have an
> objective function that averages all of the gene values and returns the
> average. If I understand correctly, all of the gene values should be
> between
> 0 and 100. When the ga runs I should end up with a value of 100 for all
> genes in the top performer. When I look at the values of the genes, they
> are
> not between 0 and 100. Can someone shed some light on this for me? Any and
> all help will be much appreciated.
What are the values of the genes? Print more details of your code.
André
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
More information about the galib
mailing list