MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
Public Member Functions
MCScheduling.MixedCriticality.SA.CMixedCriticalitySimulatedAnnealing.CLowerBetterComparer Class Reference

Lower energy - lower makespan / lateness - better solution. More...

Inheritance diagram for MCScheduling.MixedCriticality.SA.CMixedCriticalitySimulatedAnnealing.CLowerBetterComparer:
MCScheduling.SimulatedAnnealing.IComparer

List of all members.

Public Member Functions

int Compare (double x, double y)
 Compares the two specified evaluations (energies) of simulated annealing states.

Detailed Description

Lower energy - lower makespan / lateness - better solution.


Member Function Documentation

int MCScheduling.MixedCriticality.SA.CMixedCriticalitySimulatedAnnealing.CLowerBetterComparer.Compare ( double  x,
double  y 
)

Compares the two specified evaluations (energies) of simulated annealing states.

Parameters:
xThe first state's energy.
yThe second state's energy.
Returns:
-1 if x is greater then y, 0 if they are equal, 1 otherwise.
 All Classes Namespaces Functions Variables Properties