Click or drag to resize
Accord.NET (logo)

DoubleArrayChromosomeCrossoverBalancer Property

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

Namespace:  Accord.Genetic
Assembly:  Accord.Genetic (in Accord.Genetic.dll) Version: 3.8.0
Syntax
public double CrossoverBalancer { get; set; }
Request Example View Source

Property Value

Type: Double
Remarks

The property controls type of crossover, which is used more frequently. A random 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