Looking for a way to reuse 50% of previous population best individuals in different GA iteration .
For example at the end of current iteration inside a process do "population = ga.getPopulation()".Next iteration initialize 50% of that pop.
Does anyone know how to handle the population results?
You can use the method setElitismReplacement (see here) to define the number of individuals that the elitism will use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With