Page 1 of 1

DoubleArrayChromosome problem?!!

PostPosted: Mon Aug 22, 2011 1:26 am
by Abbasali
Hi There.

Does anyone knows how to work with doublearraychromosome class?

I have a optimization problem. my chromosome consists an array of double numbers that each of them have a range of possible values to be selected.

I want to know how can I limit random number generation or chromosome generation which consider acceptable ranges for each variable.

Do I have to make my own class inherited from doublearraychromosome?

Waiting for your reply.

Thanks
Ali

Re: DoubleArrayChromosome problem?!!

PostPosted: Mon Aug 22, 2011 12:47 pm
by andrew.kirillov
Hello,

Abbasali wrote:Do I have to make my own class inherited from doublearraychromosome?

Yes. There is nothing in DoubleArrayChromosome, which keeps certain numbers (genes) to in some limits.