Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > GeneticAlgorithm > RSGeneticAlgorithm > Classes > TRSCustomGeneticAlgorithm > Methods

TRSCustomGeneticAlgorithm.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: RSGeneticAlgorithm



Type: TRSIndividual

Return Value

Type: Boolean



RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb