giacomelli / GeneticSharp

GeneticSharp is a fast, extensible, multi-platform and multithreading C# Genetic Algorithm library that simplifies the development of applications using Genetic Algorithms (GAs).
MIT License
1.26k stars 330 forks source link

reinsertion control #96

Closed AnakinCN closed 1 year ago

AnakinCN commented 1 year ago

Hi,

Would you consider providing more specific controls on reinsertion?

  1. number (or probability) of elite chromos inserted to the next generation
  2. mixed reinsertion of ElitistReinsertion & FitnessBasedReinsertion

Thank you.

giacomelli commented 1 year ago

Hello,

I think this kind of behavior could be easily achieved by implementing IReinsertion for specific cases. If you are willing to implement them, please propose the idea for validation in this issue, after that, if you receive a green light, you will be able to implement it and make a pull request.

Please, follow our contributing guideline for this.