JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.EOSscheduling.HBSS
Class TaskWeight

java.lang.Object
  extended bygov.nasa.javaGenes.weightNetwork.UpdateAndPropagatable
      extended bygov.nasa.javaGenes.weightNetwork.Weight
          extended bygov.nasa.javaGenes.EOSscheduling.HBSS.TaskWeight
All Implemented Interfaces:
java.io.Serializable

public class TaskWeight
extends Weight

See Also:
Serialized Form

Field Summary
protected  AccessWindowsList accessWindowsList
           
protected static boolean debug
           
protected  Task task
           
 
Fields inherited from class gov.nasa.javaGenes.weightNetwork.Weight
next, previous, weight, weightList
 
Fields inherited from class gov.nasa.javaGenes.weightNetwork.UpdateAndPropagatable
needToUpdateAndPropagate
 
Constructor Summary
protected TaskWeight()
           
  TaskWeight(Task inTask, float priorityWeight, float numberOfAccessWindowsWeight, float SSRweight)
          assumes Task requires SSR
 
Method Summary
 AccessWindowsList getAccessWindowList()
           
 Task getTask()
           
 void initializeWeightSum()
           
 void reinitialize()
           
 void scheduled(AccessWindowWeight aw)
           
 void unschedulable(AccessWindowWeight aw)
           
 
Methods inherited from class gov.nasa.javaGenes.weightNetwork.Weight
getNext, getPrevious, getWeight, getWeightList, removeFromWeightList, setNext, setPrevious, setWeight, setWeightAndPropagate, setWeightList, weightChanged
 
Methods inherited from class gov.nasa.javaGenes.weightNetwork.UpdateAndPropagatable
mustToUpdateAndPropagate, startUpdateAndPropagate, updateAndPropagate, updateAndPropagateDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

task

protected Task task

accessWindowsList

protected AccessWindowsList accessWindowsList

debug

protected static final boolean debug
See Also:
Constant Field Values
Constructor Detail

TaskWeight

protected TaskWeight()

TaskWeight

public TaskWeight(Task inTask,
                  float priorityWeight,
                  float numberOfAccessWindowsWeight,
                  float SSRweight)
assumes Task requires SSR

Method Detail

reinitialize

public void reinitialize()
Overrides:
reinitialize in class Weight

getTask

public Task getTask()

getAccessWindowList

public AccessWindowsList getAccessWindowList()

scheduled

public void scheduled(AccessWindowWeight aw)

unschedulable

public void unschedulable(AccessWindowWeight aw)

initializeWeightSum

public void initializeWeightSum()

JavaGenes, NASA Ames. Written largely by Al Globus