MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
|
The stochastic universal sampling selector implementation. More...
Public Member Functions | |
CStochasticUniversalSampling (CConfiguration configuration) | |
Instantiates a new stochastic universal sampling selector. | |
override void | select (CPopulation population, CPopulation matingPool, int toSelectCount) |
Selects a chromosome from the specified population according to its fitness. |
The stochastic universal sampling selector implementation.
MCScheduling.GeneticAlgorithm.CStochasticUniversalSampling.CStochasticUniversalSampling | ( | CConfiguration | configuration | ) |
Instantiates a new stochastic universal sampling selector.
configuration | The configuration of the genetic algorithm that will utilize this selector. |
NullReferenceException | If confuguration is null. |
override void MCScheduling.GeneticAlgorithm.CStochasticUniversalSampling.select | ( | CPopulation | population, |
CPopulation | matingPool, | ||
int | toSelectCount | ||
) | [virtual] |
Selects a chromosome from the specified population according to its fitness.
See the description of the algorithm in the description of this class.
population | The population the chromosome will be selected from. |
matingPool | The mating pool the chromosome will be inserted into. |
toSelectCount | The total number of chromosomes to select. |
Implements MCScheduling.GeneticAlgorithm.CBaseSelectionOperator.