JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.EOSscheduling.HBSS
Class Scheduler

java.lang.Object
  extended bygov.nasa.javaGenes.EOSscheduling.Scheduler
      extended bygov.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

Field Summary
protected  TaskList taskList
           
 
Fields inherited from class gov.nasa.javaGenes.EOSscheduling.Scheduler
model, NOT_SCHEDULED, placers
 
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.
 
Method Summary
 void createSchedule(EOSschedulingEvolvable evolvable)
           
protected  TaskList getTaskList()
           
protected  boolean insertIntoTimelines(AccessWindow a, Task t)
          Try to insert Task into location suggested by AccessWindow starting at begining of AccessWindow.
protected  void scheduleTask(EOSschedulingEvolvable evolvable, TaskWeight t)
           
 void setUpForRescheduleFromPermutation()
           
 
Methods inherited from class gov.nasa.javaGenes.EOSscheduling.Scheduler
addPlacer, beginScheduling, endScheduling, rescheduleFromPermutation, rescheduleFromPermutationOver, scheduleTask, scheduleTaskFromEvolvableData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

taskList

protected TaskList taskList
Constructor Detail

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.

Method Detail

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()

JavaGenes, NASA Ames. Written largely by Al Globus