Jump to content

Selection (evolutionary algorithm)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 146.163.146.74 (talk) at 19:30, 26 October 2004 (Briefly described a selection and given an algorithm to do the selection.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Selection is the selecting of a chromosome from a population of chromosomes based on statistics of normalized values and a random variable between 0 and 1.

Procedure: This is done by finding the fitness value of each chromosome and then finding the normalized fitness value for each chromosome.

Next, accumulated normalized fitness values are created for the population. This is done by starting from the first chromosome in the population and travelling through the entire population and storing the each chromosome's fitness value plus all the previous chromosomes fitness values. The last stored accumulated value should be 1.0.

Finally, we choose a random number and select the first chromosome whose accumulated normalized value is greater than the random number.