I: Help: problem with GA2DArrayGenome with GAAlleleSetArray

Marcello Scaringi MarcelloScaringi at iol.it
Tue Jun 29 15:19:04 EDT 1999


-----Messaggio originale-----
Da: Marcello Scaringi <MarcelloScaringi at iol.it>
A: galib-request at mit.edu <galib-request at mit.edu>
Data: Monday, June 28, 1999 11:24 PM
Oggetto: Help: problem with GA2DArrayGenome with GAAlleleSetArray


>I've the following problem: I 'm not able to write code with 
>GA2DArrayGenome
>
> where the gene is a 
>GAAlleleSetArray
>
>.
>I wrote:
>
>  GARealAlleleSetArray mieiAlleli;
>  mieiAlleli.add(0, 1, 1, GAAllele::INCLUSIVE, GAAllele::INCLUSIVE);
>  mieiAlleli.add(2000, 5500);
>  mieiAlleli.add(2000, 5500);
>  GA2DArrayAlleleGenome<float> genome(20, 1, mieiAlleli, objective);
>
>but I can't reach any of three  allele sets in the gene of the genome.
>
>It's possible have a simple example about it.
>
>Regars Marcello Scaringi
>
>& Thanks
>





More information about the galib mailing list