MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
|
Evaluates the energy of the given state as a convex sum of the makespan and lateness of the corresponding solution schedule. More...
Public Member Functions | |
CMinimumMakespanLatenessEvaluator (CMixedCriticalityInstance instance) | |
Creates the MinimumMakespanLatenessEvaluator with makespan and lateness factors set to 0.5. | |
CMinimumMakespanLatenessEvaluator (CMixedCriticalityInstance instance, double makespanFactor, double latenessFactor) | |
Creates the MinimumMakespanLatenessEvaluator for the specified lateness, makespan weighting factor. | |
double | getMakespanFactor () |
Returns the makespan factor. | |
void | setMakespanFactor (double makespanFactor) |
Sets the makespan factor. | |
double | getLatenessFactor () |
Returns the lateness factor. | |
void | setLatenessFactor (double latenessFactor) |
Sets the lateness factor. | |
CMixedCriticalityInstance | getInstace () |
Returns the mixed-criticality instance associated with the solution. | |
void | setInstance (CMixedCriticalityInstance instance) |
Sets the mixed-criticality instance associated with the solution. | |
double | Evaluate (CSimulatedAnnealingState state) |
Calculates and returns the value of the energy (quality) of the specified state. |
Evaluates the energy of the given state as a convex sum of the makespan and lateness of the corresponding solution schedule.
MCScheduling.MixedCriticality.SA.CMixedCriticalitySimulatedAnnealing.CMinimumMakespanLatenessEvaluator.CMinimumMakespanLatenessEvaluator | ( | CMixedCriticalityInstance | instance | ) |
Creates the MinimumMakespanLatenessEvaluator with makespan and lateness factors set to 0.5.
instance | The mixed-criticality instance associated with a solution. |
MCScheduling.MixedCriticality.SA.CMixedCriticalitySimulatedAnnealing.CMinimumMakespanLatenessEvaluator.CMinimumMakespanLatenessEvaluator | ( | CMixedCriticalityInstance | instance, |
double | makespanFactor, | ||
double | latenessFactor | ||
) |
Creates the MinimumMakespanLatenessEvaluator for the specified lateness, makespan weighting factor.
instance | The mixed-criticality instance associated with a solution. |
makespanFactor | The weight of makespan. |
latenessFactor | The weight of lateness. |
double MCScheduling.MixedCriticality.SA.CMixedCriticalitySimulatedAnnealing.CMinimumMakespanLatenessEvaluator.Evaluate | ( | CSimulatedAnnealingState | state | ) |
Calculates and returns the value of the energy (quality) of the specified state.
state | The state to be evaluated. |
double MCScheduling.MixedCriticality.SA.CMixedCriticalitySimulatedAnnealing.CMinimumMakespanLatenessEvaluator.getLatenessFactor | ( | ) |
Returns the lateness factor.
double MCScheduling.MixedCriticality.SA.CMixedCriticalitySimulatedAnnealing.CMinimumMakespanLatenessEvaluator.getMakespanFactor | ( | ) |
Returns the makespan factor.
void MCScheduling.MixedCriticality.SA.CMixedCriticalitySimulatedAnnealing.CMinimumMakespanLatenessEvaluator.setInstance | ( | CMixedCriticalityInstance | instance | ) |
Sets the mixed-criticality instance associated with the solution.
instance | The MC instance associated with the solution. |
void MCScheduling.MixedCriticality.SA.CMixedCriticalitySimulatedAnnealing.CMinimumMakespanLatenessEvaluator.setLatenessFactor | ( | double | latenessFactor | ) |
Sets the lateness factor.
latenessFactor | The new lateness factor value. |
void MCScheduling.MixedCriticality.SA.CMixedCriticalitySimulatedAnnealing.CMinimumMakespanLatenessEvaluator.setMakespanFactor | ( | double | makespanFactor | ) |
Sets the makespan factor.
makespanFactor | The new makespan factor value. |