MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
|
Representation of a mixed-criticality instance. More...
Classes | |
class | StartTimeComparer |
Public Member Functions | |
CMixedCriticalityInstance () | |
Creates untitled and empty mixed-criticality instance. | |
CMixedCriticalityInstance (string name) | |
Creates an empty mixed-criticality instance with the specified name. | |
void | addJob (CMixedCriticalityJob job) |
Adds the specified job to this mixed-criticality instance. | |
void | removeJob (CMixedCriticalityJob job) |
Removes the specified job from this mixed-criticality instance. | |
int | getMaximumCriticality () |
Returns the maximum criticality level of this instance. | |
void | setMakeSpan (double makespan) |
Sets the makespan for this instance. | |
double | getMakeSpan () |
Returns the makespan of this instance. | |
void | setLateness (double lateness) |
Sets the lateness for this instance. | |
double | getLateness () |
Returns the lateness of this instance. | |
double[] | getStartTimes () |
Returns the start times of the jobs in this mixed-criticality instance. | |
void | setName (string name) |
Sets the name of this mixed-criticality instance. | |
string | getName () |
Returns the name of this mixed-criticality instance. | |
CMixedCriticalityJob[] | getJobs () |
Returns an array of jobs in this mixed-criticality instance. | |
int | getJobCount () |
Returns the number of jobs in this mixed-criticality instance. | |
void | setCPUTime (int miliseconds) |
Sets the time spent on solving this instance. | |
int | getCPUTime () |
Returns the time in miliseconds that has been spent on solving the instance. | |
override string | ToString () |
Returns a string representation of this mixed-criticality instance. | |
string | ToFileOutput () |
Returns this mixed-criticality instance in output file format. | |
string | ToSolutionFileOutput () |
Returns this mixed-criticality instance in solution output file format. | |
IEnumerator | GetEnumerator () |
Returns the enumerator for this mixed-criticality instance jobs. | |
object | Clone () |
Returns the copy of this mixed-criticality instance. | |
Static Public Member Functions | |
static bool | validateInstance (CMixedCriticalityInstance instance) |
Validates the correctness of the specified instance. | |
Properties | |
CMixedCriticalityJob | this[int index] [get] |
Access the index-job of this mixed-criticality instance. | |
string | NameDataView [get, set] |
The Name Data View property. | |
string | MakespanDataView [get, set] |
The Makespan property. | |
string | LatenessDataView [get, set] |
The Lateness property. | |
int | MaximumCriticalityDataView [get] |
The MaximumCriticality property. | |
int | JobCountDataView [get] |
The JobCount property. | |
double | CPUTimeDataView [get] |
The CPU time property. | |
string | SolutionStatusDataView [get, set] |
The SolutionStatus property. |
Representation of a mixed-criticality instance.
MCScheduling.MixedCriticality.CMixedCriticalityInstance.CMixedCriticalityInstance | ( | string | name | ) |
Creates an empty mixed-criticality instance with the specified name.
name | The name of this instance. |
void MCScheduling.MixedCriticality.CMixedCriticalityInstance.addJob | ( | CMixedCriticalityJob | job | ) |
Adds the specified job to this mixed-criticality instance.
job | The job to be added. |
object MCScheduling.MixedCriticality.CMixedCriticalityInstance.Clone | ( | ) |
Returns the copy of this mixed-criticality instance.
int MCScheduling.MixedCriticality.CMixedCriticalityInstance.getCPUTime | ( | ) |
Returns the time in miliseconds that has been spent on solving the instance.
IEnumerator MCScheduling.MixedCriticality.CMixedCriticalityInstance.GetEnumerator | ( | ) |
Returns the enumerator for this mixed-criticality instance jobs.
int MCScheduling.MixedCriticality.CMixedCriticalityInstance.getJobCount | ( | ) |
Returns the number of jobs in this mixed-criticality instance.
CMixedCriticalityJob [] MCScheduling.MixedCriticality.CMixedCriticalityInstance.getJobs | ( | ) |
Returns an array of jobs in this mixed-criticality instance.
double MCScheduling.MixedCriticality.CMixedCriticalityInstance.getLateness | ( | ) |
Returns the lateness of this instance.
double MCScheduling.MixedCriticality.CMixedCriticalityInstance.getMakeSpan | ( | ) |
Returns the makespan of this instance.
int MCScheduling.MixedCriticality.CMixedCriticalityInstance.getMaximumCriticality | ( | ) |
Returns the maximum criticality level of this instance.
string MCScheduling.MixedCriticality.CMixedCriticalityInstance.getName | ( | ) |
Returns the name of this mixed-criticality instance.
double [] MCScheduling.MixedCriticality.CMixedCriticalityInstance.getStartTimes | ( | ) |
Returns the start times of the jobs in this mixed-criticality instance.
void MCScheduling.MixedCriticality.CMixedCriticalityInstance.removeJob | ( | CMixedCriticalityJob | job | ) |
Removes the specified job from this mixed-criticality instance.
job | The job to be removed. |
void MCScheduling.MixedCriticality.CMixedCriticalityInstance.setCPUTime | ( | int | miliseconds | ) |
Sets the time spent on solving this instance.
miliseconds | The time in miliseconds spent on solving this instance. |
void MCScheduling.MixedCriticality.CMixedCriticalityInstance.setLateness | ( | double | lateness | ) |
Sets the lateness for this instance.
lateness | The lateness to be set. |
void MCScheduling.MixedCriticality.CMixedCriticalityInstance.setMakeSpan | ( | double | makespan | ) |
Sets the makespan for this instance.
makespan | The makespan to be set. |
void MCScheduling.MixedCriticality.CMixedCriticalityInstance.setName | ( | string | name | ) |
Sets the name of this mixed-criticality instance.
name | The name of this instance. |
override string MCScheduling.MixedCriticality.CMixedCriticalityInstance.ToString | ( | ) |
Returns a string representation of this mixed-criticality instance.
For debugging purpose only.
static bool MCScheduling.MixedCriticality.CMixedCriticalityInstance.validateInstance | ( | CMixedCriticalityInstance | instance | ) | [static] |
Validates the correctness of the specified instance.
instance | The instance to be validated. |
double MCScheduling.MixedCriticality.CMixedCriticalityInstance.CPUTimeDataView [get] |
The CPU time property.
int MCScheduling.MixedCriticality.CMixedCriticalityInstance.JobCountDataView [get] |
The JobCount property.
string MCScheduling.MixedCriticality.CMixedCriticalityInstance.LatenessDataView [get, set] |
The Lateness property.
string MCScheduling.MixedCriticality.CMixedCriticalityInstance.MakespanDataView [get, set] |
The Makespan property.
int MCScheduling.MixedCriticality.CMixedCriticalityInstance.MaximumCriticalityDataView [get] |
The MaximumCriticality property.
string MCScheduling.MixedCriticality.CMixedCriticalityInstance.NameDataView [get, set] |
The Name Data View property.
string MCScheduling.MixedCriticality.CMixedCriticalityInstance.SolutionStatusDataView [get, set] |
The SolutionStatus property.
CMixedCriticalityJob MCScheduling.MixedCriticality.CMixedCriticalityInstance.this[int index] [get] |
Access the index-job of this mixed-criticality instance.
index | The index of the job to be returned. |