Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > GeneticAlgorithm > RSGeneticBase > Classes > TRSCustomGeneticComponent > Properties

TRSCustomGeneticComponent.CrossoverProbability Property

Scroll Prev Top Next More

Controls the likelihood that crossover (also known as recombination) will occur when 2 parents are selected to create a new child. When crossover occurs, the 2 parents genes or DNA are combined to make the child. The crossover probability is checked for each new child (e.g., if there are 100 children created each generation, the CrossoverProbability will be tested 100 times).

The Operations property controls whether crossover occurs at all during evolution.


If crossover does not occur, the child is a duplicate of the first parent (but may be mutated or inverted).

Namespace: RSGeneticBase

Property Value

Type: TGAProbability

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb