MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
|
The inversion mutation operator. More...
Public Member Functions | |
CInversionMutation (CConfiguration configuration, double mutationRate) | |
Creates new inversion 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. |
The inversion mutation operator.
It randomly chooses two points within a chromosome with uniform probability, and reverses the genes within the range defined by these two points.
MCScheduling.GeneticAlgorithm.CInversionMutation.CInversionMutation | ( | CConfiguration | configuration, |
double | mutationRate | ||
) |
Creates new inversion mutation operator for the specified configuration.
configuration | The configuration of a genetic algorithm that uses this operator. |
mutationRate | The mutation rate. |
override void MCScheduling.GeneticAlgorithm.CInversionMutation.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.
chromosome | The chromosome to be mutated. |
Implements MCScheduling.GeneticAlgorithm.CBaseMutationOperator.