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
Strange behavior of MixProbability in UniformCrossover #125
The UniformCrossover has MixProbability field for swapping genes. In the current implementation genes are swapped when the event is NOT occuried. Why not vice versa?
Hey,
The UniformCrossover has MixProbability field for swapping genes. In the current implementation genes are swapped when the event is NOT occuried. Why not vice versa?
https://github.com/giacomelli/GeneticSharp/blob/b6567e3d2d328ce00cae3cea2d79a1e1ba40d944/src/GeneticSharp.Domain/Crossovers/UniformCrossover.cs#L62-L71
Thanks!