Hi everybody,
I have a question on how to add some fresh individual to the population. My problem is, that the standard deviation shrinks to a minimum and most of the individuals in the population looks the same after several generations. What I want to do, is to add some fresh individuals to the population by replacing the bad ones with some fresh ones or by resizing the population size.
Is there an easy way to do this?
Thank you very much!
Cheers
Carsten
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I wrote my own replacement class. I just inherited from eoReplacement<EOT> and wrote the operator()-function. In the operator() it's simple to create some new individuals.
Kind regards,
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everybody,
I have a question on how to add some fresh individual to the population. My problem is, that the standard deviation shrinks to a minimum and most of the individuals in the population looks the same after several generations. What I want to do, is to add some fresh individuals to the population by replacing the bad ones with some fresh ones or by resizing the population size.
Is there an easy way to do this?
Thank you very much!
Cheers
Carsten
Hi Carsten,
I wrote my own replacement class. I just inherited from eoReplacement<EOT> and wrote the operator()-function. In the operator() it's simple to create some new individuals.
Kind regards,
Thomas