Menu

adding fresh individuals to population

Help
2007-11-22
2013-06-04
  • carsten kemper

    carsten kemper - 2007-11-22

    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

     
    • THarmes

      THarmes - 2008-02-04

      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

       

Log in to post a comment.

MongoDB Logo MongoDB