MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
|
A default implementation of IBreeder interface. More...
Public Member Functions | |
CDefaultBreeder (CConfiguration configuration) | |
Creates a new default implementation of a breeder. | |
void | notify (CConfiguration configuration) |
Invoked when the genetic algorithm is about to be executed. | |
override void | breed (CPopulation population, CPopulation evolvedPopulation) |
Evolves the specified population of chromosomes, by execution of all genetic operators: selectors, crossover, and mutation operators that are currently set up in the configuration of the algorithm that has been specified during initialization of the breeder. |
A default implementation of IBreeder interface.
Instances of a default breeder are practically useful for most of the problems.
MCScheduling.GeneticAlgorithm.CDefaultBreeder.CDefaultBreeder | ( | CConfiguration | configuration | ) |
Creates a new default implementation of a breeder.
configuration | The configuration of the genetic algorithm that will utilize this breeder. |
NullReferenceException | If confuguration is null. |
override void MCScheduling.GeneticAlgorithm.CDefaultBreeder.breed | ( | CPopulation | population, |
CPopulation | evolvedPopulation | ||
) | [virtual] |
Evolves the specified population of chromosomes, by execution of all genetic operators: selectors, crossover, and mutation operators that are currently set up in the configuration of the algorithm that has been specified during initialization of the breeder.
Note: The fitness scores of the population is expected to be assigned prior to calling this method.
population | The population to be evolved. |
evolvedPopulation | A new evolved population. |
Implements MCScheduling.GeneticAlgorithm.CBaseBreeder.
void MCScheduling.GeneticAlgorithm.CDefaultBreeder.notify | ( | CConfiguration | configuration | ) |
Invoked when the genetic algorithm is about to be executed.
configuration | The configuration of the genetic algorithm that uses this breeder. |
Implements MCScheduling.GeneticAlgorithm.IConfigurationDependent.