MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
|
Crossover operator is one of the tools of evolution. More...
Public Member Functions | |
void | apply (IChromosome daddy, IChromosome mommy, CPopulation population) |
Crossovers the specified couple of chromosomes in a operator-specific way forming a new chromosomes, who should be added to the specified population. |
Crossover operator is one of the tools of evolution.
It is applied to a couple of chromosomes, whose genes are exchanged accordingly, making one or more offsprings which then go to the next generation.
void MCScheduling.GeneticAlgorithm.ICrossoverOperator.apply | ( | IChromosome | daddy, |
IChromosome | mommy, | ||
CPopulation | population | ||
) |
Crossovers the specified couple of chromosomes in a operator-specific way forming a new chromosomes, who should be added to the specified population.
daddy | The first chromosome entering into the crossover. |
mommy | The second chromosome entering into the crossover. |
population | The population for the next generation. It may contain some chromosomes that have been already chosen for the next generation. |
Implemented in MCScheduling.GeneticAlgorithm.CAlternatingPositionCrossover, MCScheduling.GeneticAlgorithm.CBaseCrossoverOperator, MCScheduling.GeneticAlgorithm.CCycleCrossover, MCScheduling.GeneticAlgorithm.CGreedyCrossover, MCScheduling.GeneticAlgorithm.CHeuristicCrossover, MCScheduling.GeneticAlgorithm.COrderBasedCrossover, MCScheduling.GeneticAlgorithm.COrderCrossover, MCScheduling.GeneticAlgorithm.CPartiallyMappedCrossover, and MCScheduling.GeneticAlgorithm.CPositionBasedCrossover.