MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
Public Member Functions
MCScheduling.MixedCriticality.GA.CMixedCriticalityGeneticAlgorithm.CMixedCriticalityGeneDistanceMeasurer Class Reference

The gene distance measurer for mixed-criticality genetic algorithm. More...

Inheritance diagram for MCScheduling.MixedCriticality.GA.CMixedCriticalityGeneticAlgorithm.CMixedCriticalityGeneDistanceMeasurer:
MCScheduling.GeneticAlgorithm.IGeneDistanceMeasurer

List of all members.

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.

Detailed Description

The gene distance measurer for mixed-criticality genetic algorithm.

It may be used by some of its crossover/mutation operator.


Member Function Documentation

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.

Parameters:
xThe 1st mixed-criticality job.
yThe 2nd mixed-criticality job.
Returns:
The minimum time the 1st specified job delays the execution of the 2nd specified 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.

Parameters:
xThe 1st mixed-criticality gene.
yThe 2nd mixed-criticality gene.
Returns:
The minimum time the job represented by the 1st specified gene delays the execution the job represented by the 2nd specified gene.

Implements MCScheduling.GeneticAlgorithm.IGeneDistanceMeasurer.

 All Classes Namespaces Functions Variables Properties