gov.nasa.javaGenes.EOSscheduling
Class Node
java.lang.Object
gov.nasa.javaGenes.EOSscheduling.TimeInterval
gov.nasa.javaGenes.EOSscheduling.Node
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AvailableNode, SlewNode, SSRNode
- public class Node
- extends TimeInterval
- See Also:
- Serialized Form
Constructor Summary |
protected |
Node()
should only be called from NodeFactory and subclasses (via NodeFactory) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startTime
protected int startTime
previous
protected Node previous
next
protected Node next
Node
protected Node()
- should only be called from NodeFactory and subclasses (via NodeFactory)
setTimeAndNeighbors
protected void setTimeAndNeighbors(int inStartTime,
Node previous,
Node next)
getStart
public int getStart()
- Specified by:
getStart
in class TimeInterval
setStart
protected void setStart(int inStartTime)
getEnd
public int getEnd()
- Specified by:
getEnd
in class TimeInterval
setEnd
protected void setEnd(int inEndTime)
next
public Node next()
setNext
protected void setNext(Node node)
previous
public Node previous()
setPrevious
protected void setPrevious(Node node)
isDurationAvailable
protected boolean isDurationAvailable(int inStartTime,
int inDuration)
- Returns:
- true if can start in this node and finish by the end of it