MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
|
The representation of a solution of an MC instance used by simulated annealing algorithm. More...
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. |
The representation of a solution of an MC instance used by simulated annealing algorithm.
MCScheduling.MixedCriticality.SA.CSimulatedAnnealingState.CSimulatedAnnealingState | ( | int[] | scheduledJobIndices, |
int[] | startTimes, | ||
int[] | latenesses | ||
) |
Creates a new state for the simulated annealing algorithm.
scheduledJobIndices | A "solution" of an MC instance in form of an array of indices to its list of MC jobs. |
startTimes | The precalculated list of start times of the jobs. |
latenesses | The precalculated list of latenesses of the jobs. |
object MCScheduling.MixedCriticality.SA.CSimulatedAnnealingState.Clone | ( | ) |
Returns a shallow copy of this instance.
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.