MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
|
The gene distance measurer for mixed-criticality genetic algorithm. More...
Public Member Functions | |
double | distance (CMixedCriticalityJob x, CMixedCriticalityJob y) |
Returns the minimum time the 1st specified job delays the execution of the 2nd specified job. | |
double | distance (IGene x, IGene y) |
Returns the minimum time the job represented by the 1st specified gene delays the execution the job represented by the 2nd specified gene. |
The gene distance measurer for mixed-criticality genetic algorithm.
It may be used by some of its crossover/mutation operator.
double MCScheduling.MixedCriticality.GA.CMixedCriticalityGeneticAlgorithm.CMixedCriticalityGeneDistanceMeasurer.distance | ( | CMixedCriticalityJob | x, |
CMixedCriticalityJob | y | ||
) |
Returns the minimum time the 1st specified job delays the execution of the 2nd specified job.
x | The 1st mixed-criticality job. |
y | The 2nd mixed-criticality job. |
double MCScheduling.MixedCriticality.GA.CMixedCriticalityGeneticAlgorithm.CMixedCriticalityGeneDistanceMeasurer.distance | ( | IGene | x, |
IGene | y | ||
) |
Returns the minimum time the job represented by the 1st specified gene delays the execution the job represented by the 2nd specified gene.
x | The 1st mixed-criticality gene. |
y | The 2nd mixed-criticality gene. |
Implements MCScheduling.GeneticAlgorithm.IGeneDistanceMeasurer.