Click or drag to resize
Accord.NET (logo)

DoubleArrayChromosomeMutationBalancer Property

Mutation balancer to control mutation type, [0, 1].

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

Property Value

Type: Double

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

Default value is set to 0.5.

See Also