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

The insertion mutation operator. More...

Inheritance diagram for MCScheduling.GeneticAlgorithm.CInsertionMutation:
MCScheduling.GeneticAlgorithm.CBaseMutationOperator MCScheduling.GeneticAlgorithm.IConfigurationDependent MCScheduling.GeneticAlgorithm.CGeneticOperator MCScheduling.GeneticAlgorithm.IMutationOperator

List of all members.

Public Member Functions

 CInsertionMutation (CConfiguration configuration, double mutationRate)
 Creates new insertion mutation operator for the specified configuration.
void notify (CConfiguration configuration)
 Invoked when the genetic algorithm is about to be executed.
override void apply (IChromosome chromosome)
 Mutates the specified chromosome in a operator-specific way forming a new chromosome, which will then go to the next generation.

Detailed Description

The insertion mutation operator.

It randomly chooses a gene within a chromosome with uniform probability, and then the gene is displaced and reinserted back into randomly chosen position.

Author:
Tomas Tunys

Constructor & Destructor Documentation

MCScheduling.GeneticAlgorithm.CInsertionMutation.CInsertionMutation ( CConfiguration  configuration,
double  mutationRate 
)

Creates new insertion mutation operator for the specified configuration.

Parameters:
configurationThe configuration of a genetic algorithm that uses this operator.
mutationRateThe mutation rate.

Member Function Documentation

override void MCScheduling.GeneticAlgorithm.CInsertionMutation.apply ( IChromosome  chromosome) [virtual]

Mutates the specified chromosome in a operator-specific way forming a new chromosome, which will then go to the next generation.

Parameters:
chromosomeThe chromosome to be mutated.

Implements MCScheduling.GeneticAlgorithm.CBaseMutationOperator.

void MCScheduling.GeneticAlgorithm.CInsertionMutation.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