GeneticSharp
GeneticSharp copied to clipboard
Strange behavior of MixProbability in UniformCrossover
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!