JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.EOSscheduling
Class EOSModel

java.lang.Object
  extended bygov.nasa.javaGenes.EOSscheduling.EOSModel
All Implemented Interfaces:
java.io.Serializable

public class EOSModel
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  Horizon horizon
           
protected  java.util.Vector satellites
           
protected  ExtendedVector tasks
           
 
Constructor Summary
EOSModel()
           
EOSModel(Horizon inHorizon)
           
 
Method Summary
 void addSatellite(Satellite s)
           
 void addTask(Task task)
           
 void beginScheduling()
           
protected  void createFreshTimelines()
           
protected  void doneWithTimelines()
           
 void endScheduling()
           
 Horizon getHorizon()
           
 int getNumberOfSatellites()
           
 int getNumberOfTasks()
           
 Satellite getSatellite(int index)
           
 Satellite[] getSatellites()
           
 java.util.Vector getSensors()
           
 Task getTask(int index)
           
 double getTaskPrioritySum()
           
 void numberSatellites()
           
 void numberTasksAndAccessWindows()
           
 void printUnexecutableTasks(java.lang.String filename)
           
 void removeUnexecutableTasks()
           
 void report(java.lang.String directoryName)
           
 void setHorizon(Horizon inHorizon)
           
 void setTaskPriorities(double startPriority, double priorityIncrement, int tasksPerIncrement)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tasks

protected ExtendedVector tasks

satellites

protected java.util.Vector satellites

horizon

protected Horizon horizon
Constructor Detail

EOSModel

public EOSModel()

EOSModel

public EOSModel(Horizon inHorizon)
Method Detail

getSensors

public java.util.Vector getSensors()

toString

public java.lang.String toString()

beginScheduling

public void beginScheduling()

endScheduling

public void endScheduling()

createFreshTimelines

protected void createFreshTimelines()

doneWithTimelines

protected void doneWithTimelines()

getSatellite

public Satellite getSatellite(int index)

addSatellite

public void addSatellite(Satellite s)

getSatellites

public Satellite[] getSatellites()

getNumberOfSatellites

public int getNumberOfSatellites()

numberSatellites

public void numberSatellites()

addTask

public void addTask(Task task)

getTask

public Task getTask(int index)

getNumberOfTasks

public int getNumberOfTasks()

numberTasksAndAccessWindows

public void numberTasksAndAccessWindows()

printUnexecutableTasks

public void printUnexecutableTasks(java.lang.String filename)

removeUnexecutableTasks

public void removeUnexecutableTasks()

setTaskPriorities

public void setTaskPriorities(double startPriority,
                              double priorityIncrement,
                              int tasksPerIncrement)

getTaskPrioritySum

public double getTaskPrioritySum()

setHorizon

public void setHorizon(Horizon inHorizon)

getHorizon

public Horizon getHorizon()
Returns:
the horizon for this model. Never modify it.

report

public void report(java.lang.String directoryName)

JavaGenes, NASA Ames. Written largely by Al Globus