Other case where the GA doesn't work
agna at brawijaya.ac.id
Tue Mar 4 00:46:32 EST 2003
> You are initialising all your genomes to "1,1,1,1,1,1" then just swapping
> them about with the SwapMutator. There is nothing happening to change these
> 1's into 2's, 3's etc.
Ok, thank you very much. The program has run well.
I would like to ask your help again.
I want to create a genome with GA1DArrayAlleleGenome<int> in which
its allele set of each gene is different. The snippet of trial program looks
// Create multiple allele set or allele set array
/* each gene is assigned according to min and max value of
the corresponding allele set. */
// Create genome object
The program is able to run, but it produces bad genome in which there is
" GAAllele::allele(unsigned int) : this method has not been defined"
There are two things I guess about the program (but I am not sure):
- I am wrong in arranging multiple allele set in
- Or that different allele set CAN NOT BE APPLIED for each gene.
Is it correct ? If the answer is "yes", must I create my own modification
like GARealGenome.h and GARealGenome.C in order to able to apply different
allele set for each gene ?
Thank you very much for your great help.
With best wishes.
More information about the galib