Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSCustomGeneticComponent.Reproduce(TRSIndividual,TRSIndividual,TRSIndividual,TRSIndividual) Method

Scroll Prev Top Next More

The Reproduce method takes the two Parents and "mates" them to create the new Children. The Child parameters must exist but all of their information will be overwritten by the Parents. Child1 is copied from the first parent and Child2 is copied from the second parent, and then    Crossover,    Mutate, and    Invert are called according to the Operations property and the respective probability of the operation. Finally, an    OnReproduction event occurs.

The Evolve method calls the Reproduce methods.

Namespace: RSGeneticBase



Type: TRSIndividual


Type: TRSIndividual


Type: TRSIndividual


Type: TRSIndividual

Return Value

Type: Boolean

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb