gov.nasa.javaGenes.EOSscheduling.HBSS
Class Scheduler
java.lang.Object
gov.nasa.javaGenes.EOSscheduling.Scheduler
gov.nasa.javaGenes.EOSscheduling.HBSS.Scheduler
- All Implemented Interfaces:
- java.io.Serializable
- public class Scheduler
- extends Scheduler
Assumes that AccessWindow.getDuration() == Task.getDuration()
- See Also:
- Serialized Form
Constructor Summary |
protected |
Scheduler(EOSModel model)
only for use of subclasses |
|
Scheduler(EOSModel model,
float priorityWeight,
float numberOfAccessWindowsWeight,
float SSRweight)
NOTE: requires that there are no tasks with 0 accessWindows
BUG: in the evaluation function used by JavaGenes.Reporter.java the best schedule cannot
be regenerated, so some of the objective values (e.g., MinimizeSlewingFitness and SmallSlewsFitness)
will have values form a new HBSS run, not the actual best run! Need to figure out how to fix this. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
taskList
protected TaskList taskList
Scheduler
protected Scheduler(EOSModel model)
- only for use of subclasses
Scheduler
public Scheduler(EOSModel model,
float priorityWeight,
float numberOfAccessWindowsWeight,
float SSRweight)
- NOTE: requires that there are no tasks with 0 accessWindows
BUG: in the evaluation function used by JavaGenes.Reporter.java the best schedule cannot
be regenerated, so some of the objective values (e.g., MinimizeSlewingFitness and SmallSlewsFitness)
will have values form a new HBSS run, not the actual best run! Need to figure out how to fix this.
createSchedule
public void createSchedule(EOSschedulingEvolvable evolvable)
- Overrides:
createSchedule
in class Scheduler
scheduleTask
protected void scheduleTask(EOSschedulingEvolvable evolvable,
TaskWeight t)
insertIntoTimelines
protected boolean insertIntoTimelines(AccessWindow a,
Task t)
- Try to insert Task into location suggested by AccessWindow starting at begining of AccessWindow.
If sucessful, return true.
setUpForRescheduleFromPermutation
public void setUpForRescheduleFromPermutation()
- Overrides:
setUpForRescheduleFromPermutation
in class Scheduler
getTaskList
protected TaskList getTaskList()