Defines the method signature for the OnCrossover event. The Parent1 and Parent2 parameters identify the parents of the Child parameter that will be recombined into the child. The DoMutation parameter controls whether the genetic operation will occur at all. Set DoMutation to False to prevent the crossover.
Namespace: RSGeneticBase
Delphi |
type |
Parameters
Sender
Type: TObject
Parent1
Type: TRSIndividual
Parent2
Type: TRSIndividual
Child
Type: TRSIndividual
DoMutation
Type: Boolean
Reference |