A Genetic Programming Framework for .NET

EngineOptions.RecombinationRate Property

Gets or sets the recombination rate.

public int RecombinationRate {get; set;}

Property Value

For the sake of accuracy, the range of this value is 0 <= RecombinationRate <= MaxValue, with MaxValue representing 100% and 0 representing 0%.

The default value is MaxValue (equivalent to 100%).

Remarks

This value is used to set the RecombinationRate property of GeneticOperationArgs. It determines the rate at which Individuals are recombined.

If the caller uses another representation (such as a number between 0 and 100), this can be converted to RecombinationRate's range. See MutationRate for more information on this calculation.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException Thrown when value is less than zero.

See Also

EngineOptions Class | GeneticProgrammingEngine.Internal Namespace | recombination Term | GeneticOperationArgs Class | MutationRate Property