🌱
️️️️️️️In this selection method we define the notion of temperature as a tuneable parameter for determining selection pressure. This notion of selection pressure is the extent to which high-fitness individuals are preferred over low-fitness ones. We can implement it similarly to the two previous ones:
The probability of selecting individual is Individuals are selected with approximately equal probabilities if is large and vice versa for small (high-fitness preferred).
Pick two individuals and randomly from the population. During selection a random number is generated and the selected individual is determined according to with and as the fitness values of the two individuals. For large the probability of either getting chosen is equal, if is small, the better of the two is selected more often.