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

The exchange mutation operator. More...

Inheritance diagram for MCScheduling.GeneticAlgorithm.CExchangeMutation:
MCScheduling.GeneticAlgorithm.CBaseMutationOperator MCScheduling.GeneticAlgorithm.CGeneticOperator MCScheduling.GeneticAlgorithm.IMutationOperator

List of all members.

Public Member Functions

 CExchangeMutation (CConfiguration configuration, double mutationRate)
 Creates new exchange mutation operator for the specified configuration.
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 exchange mutation operator.

It randomly chooses two genes within a chromosome with uniform probability, and then simply swaps them.

Author:
Tomas Tunys

Constructor & Destructor Documentation

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

Creates new exchange 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.CExchangeMutation.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.

 All Classes Namespaces Functions Variables Properties