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

Do we have an example to use multi-threading ? #73

Closed debashis66 closed 4 years ago

debashis66 commented 4 years ago

Can we modify the linear example here using multi threading - http://diegogiacomelli.com.br/function-optimization-with-geneticsharp/

Thanks

giacomelli commented 4 years ago

You can use the same code, just set the TaskExecutor as described here: https://github.com/giacomelli/GeneticSharp/wiki/multithreading

debashis66 commented 4 years ago

Thank you it works