AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

DoubleArrayChromosome problem?!!

The forum is to discuss topics from different artificial intelligence areas, like neural networks, genetic algorithms, machine learning, etc.

DoubleArrayChromosome problem?!!

Postby Abbasali » Mon Aug 22, 2011 1:26 am

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
Abbasali
 
Posts: 1
Joined: Mon Aug 22, 2011 1:21 am

Re: DoubleArrayChromosome problem?!!

Postby andrew.kirillov » Mon Aug 22, 2011 12:47 pm

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.
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 3451
Joined: Fri Jan 23, 2009 9:12 am
Location: UK




Return to Artificial Intelligence

cron