Hide Comments
Hide Comments

Comments (0)

Defines the different crossover boundaries that can be used in recombination (combining parts of two parent's chromosome to create a new chromosome) for the TRSCustomGeneticAlgorithm component

Crossover is one of the evolutionary biology techniques used by the genetic algorithm component, along with inheritance, mutation, and selection. In crossover, the genetic algorithm component splices out the first random n-bits of one parent and concatenates it with the last chromosomesize-n bits of the other parent. The chromosome size of the child is the same as its parents. The Crossover Method property controls how the break is selected: on a gene boundary, bit boundary, or byte, word, or longword boundary. Note that crossover on a non-gene boundary could possibly cause invalid gene values because the newly combined gene at the crossover point is a random mixture of bits from the 2 parents.
 

Namespace: RSGAConsts

expandingSyntax

Delphi

type 
  TGACrossoverMethod = ( 
  cmGeneBoundary, 
  cmBitBoundary, 
  cmByteBoundary, 
  cmWordBoundary, 
  cmLongwordBoundary); 
 

expandingMembers

 

Name

Description

public enummember

cmBitBoundary

divide 2 parents at arbitrary bit

public enummember

cmByteBoundary

divide 2 parents at byte boundary

public enummember

cmGeneBoundary

divide 2 parents at a gene boundary

public enummember

cmLongwordBoundary

divide 2 parents at 4-byte boundary

public enummember

cmWordBoundary

divide 2 parents at double-byte boundary

Top

expandingSee Also

Reference

TRSCustomGeneticAlgorithm

Comments (0)