Hide Comments
Hide Comments

Comments (0)

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

expandingSyntax

Delphi

public
  function Mutate( const Item: TRSIndividual ): Boolean; virtual;
 

Parameters

Item

Type: TRSIndividual

Return Value

Type: Boolean

expandingSee Also

Comments (0)