gov.nasa.javaGenes.EOSscheduling
Class SlewTimelineNone
java.lang.Object
gov.nasa.javaGenes.EOSscheduling.Timeline
gov.nasa.javaGenes.EOSscheduling.SlewTimeline
gov.nasa.javaGenes.EOSscheduling.SlewTimelineNone
- All Implemented Interfaces:
- java.io.Serializable
- public class SlewTimelineNone
- extends SlewTimeline
- See Also:
- Serialized Form
Methods inherited from class gov.nasa.javaGenes.EOSscheduling.SlewTimeline |
assertIsValid, endTimeOK, findEarliest, getEarliestStartTimeInNode, getRampArray, getSlewArray, getStartTimesArray, getTotalSlewTime, incompatibleSlewInMiddle, insertAt, isLastEndNode, isLastStartNode, printToTsd, setLastNodes |
Methods inherited from class gov.nasa.javaGenes.EOSscheduling.Timeline |
getEnd, getFirstNode, getHorizon, getInitialNodeForNodeArray, getNodeAtTime, getStart, horizonIsValid, includes, includes, initialize, initializeAllTimelines |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlewTimelineNone
public SlewTimelineNone()
findEarliest
public int findEarliest(int startTime,
int endTime,
int duration,
SlewRequirement slewRequirement,
Slewable slewable)
- Description copied from class:
SlewTimeline
- This will happen a lot and must be very fast. Avoid unnecessary tests and object creation.
- Overrides:
findEarliest
in class SlewTimeline
- Returns:
- time time >= start time <= end || NOT_SCHEDULED
insertAt
protected void insertAt(int startTime,
int endTime,
SlewRequirement slew)
- Description copied from class:
SlewTimeline
- assumes the insertion is legal. Puts in two slew nodes, one at startTime and the other at endTime with
the same slew requirement (assumes the slew doesn't change during the observation).
- Overrides:
insertAt
in class SlewTimeline
getTotalSlewing
public int getTotalSlewing(Slewable slewable)
setUpNodeList
public void setUpNodeList()
- Overrides:
setUpNodeList
in class SlewTimeline
printToTsd
public void printToTsd(java.io.PrintWriter out)
fits
public boolean fits(int start,
SchedulingData schedulingData)
- Overrides:
fits
in class SlewTimeline