Print

Print


Hi everyone,
I would like to create my own gene that contains one integer and one boolean
value for my genetic algorithm. I found an example of how to do this on page
99-102 in the owners manual and I implemented this. The only problem is that
when I program the problem I cannot figure out how to call the two varaibles
I put in my custome gene object. I can only get to the VectorGene individual
by calling individual.genome[i] in a loop. I want to use these two variables
to calculate the fitness of the individual but I don't know how to get to
them in my problem class. 
Any help would be greatly appreciated.
Thanks,
Danielle