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.27k stars 332 forks source link

Initialization of first Generation with predefined Chromosomes #71

Closed WojciechOrs closed 4 years ago

WojciechOrs commented 4 years ago

Hi!

I would like to initialize first Generation with my own predefined Chromosomes, not random (I have fitness function values for them). Can you please help on how to code that?

giacomelli commented 4 years ago

Hi @WojciechOrs!

You can use something like the PreloadPopulation that I proposed in this issue: https://github.com/giacomelli/GeneticSharp/issues/9#issuecomment-246120699