Re: [jgap-users] Simple genotype
Brought to you by:
klausikm
From: Klaus M. <jg...@kl...> - 2008-03-10 19:38:23
|
Ary, there should never be only one single gene, i.e. one single chromosome, in one population (genotype is not relevant here!). One genotype is part of a population, but within the population multiple chromosomes - and thus genes - are evolved. Best Klaus www.klaus-meffert.com <http://www.klaus-meffert.com/> _____ From: jga...@li... [mailto:jga...@li...] On Behalf Of Ary Junior Sent: Monday, March 10, 2008 3:49 PM To: jga...@li... Subject: [jgap-users] Simple genotype Hi, I have a newbie question. I did a test with a simple optimization problem where each individual have a single double gene with value ranging from 0.00 to 1.00 like this one: Gene[] sampleGenes = new Gene[1]; sampleGenes[0] = new DoubleGene(conf, 0.00, 1.00); // 0% - 100% The results are very good but, how Jgap make crossover if I have a single gene in genotype? Or only random mutation is responsible for the evolution? Thanks very much!!! Ary Junior |