Crossover balancer to control crossover type, [0, 1].

Namespace:  AForge.Genetic
Assembly:  AForge.Genetic (in AForge.Genetic.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
public double CrossoverBalancer { get; set; }

Remarks

The property controls type of crossover, which is used more frequently. A radnom number is generated each time before doing crossover - if the random number is smaller than the specified balance value, then one crossover type is used, otherwse another. See Crossover(IChromosome) method for more information.

Default value is set to 0.5.

See Also