Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSCustomGeneticComponent.Mutate(TRSIndividual) Method

Scroll Prev Top Next More

Mutates the DNA of the individual. Mutation for genetic algorithms means flipping the bits of the chromosome. For genetic programs, mutation means changing nodes of the program tree.

Note that mutation is not guaranteed to occur but is dependent on the    MutationProbability. The function calls the    OnMutation event and then DoMutate method.
 
The Mutate method is called by the    Reproduce method. The function returns true if mutation occurred.
 

Namespace: RSGeneticBase

Parameters

Item

Type: TRSIndividual

Return Value

Type: Boolean

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb