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

A default implementation of IBreeder interface. More...

Inheritance diagram for MCScheduling.GeneticAlgorithm.CDefaultBreeder:
MCScheduling.GeneticAlgorithm.CBaseBreeder MCScheduling.GeneticAlgorithm.IConfigurationDependent

List of all members.

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.

Detailed Description

A default implementation of IBreeder interface.

Instances of a default breeder are practically useful for most of the problems.


Constructor & Destructor Documentation

MCScheduling.GeneticAlgorithm.CDefaultBreeder.CDefaultBreeder ( CConfiguration  configuration)

Creates a new default implementation of a breeder.

Parameters:
configurationThe configuration of the genetic algorithm that will utilize this breeder.
Exceptions:
NullReferenceExceptionIf confuguration is null.

Member Function Documentation

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.

Parameters:
populationThe population to be evolved.
evolvedPopulationA new evolved population.

Implements MCScheduling.GeneticAlgorithm.CBaseBreeder.

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

Invoked when the genetic algorithm is about to be executed.

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

Implements MCScheduling.GeneticAlgorithm.IConfigurationDependent.

 All Classes Namespaces Functions Variables Properties