MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
Public Member Functions
MCScheduling.GeneticAlgorithm.CHeuristicCrossover Class Reference

The heuristic crossover operator implementation. More...

Inheritance diagram for MCScheduling.GeneticAlgorithm.CHeuristicCrossover:
MCScheduling.GeneticAlgorithm.CBaseCrossoverOperator MCScheduling.GeneticAlgorithm.IConfigurationDependent MCScheduling.GeneticAlgorithm.CGeneticOperator MCScheduling.GeneticAlgorithm.ICrossoverOperator

List of all members.

Public Member Functions

 CHeuristicCrossover (CConfiguration configuration, double crossoverRate)
 Creates new cycle crossover operator for the specified configuration.
void notify (CConfiguration configuration)
 Invoked when the genetic algorithm is about to be executed.
override 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.

Detailed Description

The heuristic crossover operator implementation.

Author:
Tomas Tunys.

Constructor & Destructor Documentation

MCScheduling.GeneticAlgorithm.CHeuristicCrossover.CHeuristicCrossover ( CConfiguration  configuration,
double  crossoverRate 
)

Creates new cycle crossover operator for the specified configuration.

Parameters:
configurationThe configuration of a genetic algorithm that uses this operator.
crossoverRateThe crossover rate.

Member Function Documentation

override void MCScheduling.GeneticAlgorithm.CHeuristicCrossover.apply ( IChromosome  daddy,
IChromosome  mommy,
CPopulation  population 
) [virtual]

Crossovers the specified couple of chromosomes in a operator-specific way forming a new chromosomes, who should be added to the specified population.

Parameters:
daddyThe first chromosome entering into the crossover.
mommyThe second chromosome entering into the crossover.
populationThe population for the next generation. It may contain some chromosomes that have been already chosen for the next generation.

Implements MCScheduling.GeneticAlgorithm.CBaseCrossoverOperator.

void MCScheduling.GeneticAlgorithm.CHeuristicCrossover.notify ( CConfiguration  configuration)

Invoked when the genetic algorithm is about to be executed.

Parameters:
configurationThe configuration of the genetic algorithm that uses this operator.

Implements MCScheduling.GeneticAlgorithm.IConfigurationDependent.

 All Classes Namespaces Functions Variables Properties