MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
|
Defines a fitness calculation method. More...
Public Member Functions | |
void | evaluate (IChromosome chromosome) |
Determines the fitness of the specified chromosome. | |
void | evaluate (CPopulation population) |
Determines the fitness of all chromosome in the specified population. |
Defines a fitness calculation method.
void MCScheduling.GeneticAlgorithm.IFitnessEvaluator.evaluate | ( | IChromosome | chromosome | ) |
Determines the fitness of the specified chromosome.
The fitness should be then set for the chromosome using IChromosome.setFitnessValue.
chromosome | The chromosome whose fitness should be calculated. |
Implemented in MCScheduling.MixedCriticality.GA.CMinimizeMakespanFitnessEvaluator.
void MCScheduling.GeneticAlgorithm.IFitnessEvaluator.evaluate | ( | CPopulation | population | ) |
Determines the fitness of all chromosome in the specified population.
The fitness should be set for the chromosomes using IChromosome.setFitnessValue.
population | The population of chromosomes whose fitness should be calculated. |
Implemented in MCScheduling.MixedCriticality.GA.CMinimizeMakespanFitnessEvaluator.