MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
|
Rank scaling may be used to prevent too quick convergence. More...
Public Member Functions | |
void | scale (CPopulation population) |
Scales the fitness scores of the individuals within the specified population. |
Rank scaling may be used to prevent too quick convergence.
It work like this: the individuals in the specified population are sorted according to their fitness - from the fittest to the worst fit individual, and then each individual's fitness is assigned a new value based on its rank within the sorted population.
void MCScheduling.GeneticAlgorithm.CRankScaling.scale | ( | CPopulation | population | ) |
Scales the fitness scores of the individuals within the specified population.
For more information look at the description of the RankScaling class.
population | The population of individuals to be scaled. |
Implements MCScheduling.GeneticAlgorithm.IFitnessScaler.