MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
Public Member Functions | Public Attributes | Properties
MCScheduling.MixedCriticality.SA.CSimulatedAnnealingState Class Reference

The representation of a solution of an MC instance used by simulated annealing algorithm. More...

Inheritance diagram for MCScheduling.MixedCriticality.SA.CSimulatedAnnealingState:
MCScheduling.SimulatedAnnealing.ICloneable< T >

List of all members.

Public Member Functions

 CSimulatedAnnealingState (int[] scheduledJobIndices, int[] startTimes, int[] latenesses)
 Creates a new state for the simulated annealing algorithm.
object Clone ()
 Returns a shallow copy of this instance.

Public Attributes

int[] ScheduledJobIndex
 The array of indices to MC jobs of the instace, represented by this state.
int[] StartTime
 The start times of the jobs.
int[] Lateness
 The latenesses of the jobs.

Properties

int Length [get]
 Returns the number of MC jobs in the associated MC instance.

Detailed Description

The representation of a solution of an MC instance used by simulated annealing algorithm.


Constructor & Destructor Documentation

MCScheduling.MixedCriticality.SA.CSimulatedAnnealingState.CSimulatedAnnealingState ( int[]  scheduledJobIndices,
int[]  startTimes,
int[]  latenesses 
)

Creates a new state for the simulated annealing algorithm.

Parameters:
scheduledJobIndicesA "solution" of an MC instance in form of an array of indices to its list of MC jobs.
startTimesThe precalculated list of start times of the jobs.
latenessesThe precalculated list of latenesses of the jobs.

Member Function Documentation

object MCScheduling.MixedCriticality.SA.CSimulatedAnnealingState.Clone ( )

Returns a shallow copy of this instance.

Returns:
A shallow copy of this instance.

Member Data Documentation

The latenesses of the jobs.

The array of indices to MC jobs of the instace, represented by this state.

The start times of the jobs.

 All Classes Namespaces Functions Variables Properties