Skip to main content

DEFAULT_SWAPPING_PROB

Constant DEFAULT_SWAPPING_PROB 

pub const DEFAULT_SWAPPING_PROB: f64 = 0.5;
Expand description

The default probability that a categorical gene is taken from the second parent in uniform crossover.

0.5 is unbiased: neither parent is privileged.