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

An public interface providing a method to determine the distance between a pair of give genes. More...

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

List of all members.

Public Member Functions

double distance (IGene x, IGene y)
 Returns the distance between the specified pair of genes.

Detailed Description

An public interface providing a method to determine the distance between a pair of give genes.


Member Function Documentation

double MCScheduling.GeneticAlgorithm.IGeneDistanceMeasurer.distance ( IGene  x,
IGene  y 
)

Returns the distance between the specified pair of genes.

The genes are supposed to represent vertices of a graph and this method shall return the "length" of the edge denoted by these genes.

Parameters:
xThe first gene.
yThe second gene.
Returns:
The distance between the specified pair of genes.

Implemented in MCScheduling.MixedCriticality.GA.CMixedCriticalityGeneticAlgorithm.CMixedCriticalityGeneDistanceMeasurer.

 All Classes Namespaces Functions Variables Properties