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

Defines a fitness comparison method for two chromosomes (objects implementing IChromosome interface). More...

Inheritance diagram for MCScheduling.GeneticAlgorithm.IFitnessComparer:
MCScheduling.GeneticAlgorithm.CConfiguration.CGreaterFitterComparer

List of all members.

Public Member Functions

new int Compare (IChromosome x, IChromosome y)
 Compares the specified couple of chromosomes and determines which one of them is more fit.

Detailed Description

Defines a fitness comparison method for two chromosomes (objects implementing IChromosome interface).


Member Function Documentation

new int MCScheduling.GeneticAlgorithm.IFitnessComparer.Compare ( IChromosome  x,
IChromosome  y 
)

Compares the specified couple of chromosomes and determines which one of them is more fit.

Parameters:
xThe first chromosome to be compared.
yThe second chromosome to be compared.
Returns:
-1 when x is more fit then y, 1 when y is more fit then x, and 0 when they are equally fit.

Implemented in MCScheduling.GeneticAlgorithm.CConfiguration.CGreaterFitterComparer.

 All Classes Namespaces Functions Variables Properties