Free cookie consent management tool by TermsFeed Policy Generator

# Changes between Initial Version and Version 1 of Ticket #1496

Ignore:
Timestamp:
04/29/11 14:28:57 (11 years ago)
Comment:

### Legend:

Unmodified
 initial The operator is described in Tate1995 as follows: "Instead, we selected parent strings by choosing a uniform random number between 1 and sqrt(m) (where m is the population size), then squaring it. The result was truncated and taken to be the rank of the selected parent (where string zero is the fittest string in the population). This approach can be generalized to give an arbitrary degree of preference or even varied dynamically during a given run by changing the power of the root of m during subsequent generations." Unfortunately the authors did not name this operator, so my idea would be to call it GeneralizedRankSelection The formular for calculating the index of the selected solution (assuming the solutions are sorted from best to worst) thus is as follows: {{{ #!c int randomNumber = 1 + rand() * (pow(m, 1.0 / pressure) - 1); int selectedIndex = floor(pow(randomNumber, pressure) - 1); }}} The variable //pressure// lies in the open interval [1;infinity). If //pressure// equals 1, this is similar to random selection. The higher //pressure// becomes, the more likely better solutions are selected.