drasys.or.graph.tw
Class TimeWindowValue

java.lang.Object
  |
  +--drasys.or.graph.VertexValue
        |
        +--drasys.or.graph.tw.TimeWindowValue

public class TimeWindowValue
extends VertexValue
implements VertexValueI, TimeWindowValueI, java.io.Serializable

A object which can hold generic vertex values.

See Also:
Serialized Form

Method Summary
 double[] getServiceTime()
          Returns the time needed to service the vertex.
 double[] getTimeWindowEnd()
          Returns the end of the service windows for the vertex.
 double[] getTimeWindowStart()
          Returns the start of the service windows for the vertex.
 void setServiceTime(double[] serviceTime)
          Sets the service time for the time windows.
 void setTimeWindowEnd(double[] windowEnd)
          Sets the values for the end of the time windows.
 void setTimeWindowStart(double[] windowStart)
          Sets the values for the start of the time windows.
 
Methods inherited from class drasys.or.graph.VertexValue
getCost, getDemand, getTime, set, setCost, setDemand, setTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getServiceTime

public double[] getServiceTime()
Returns the time needed to service the vertex.
Specified by:
getServiceTime in interface TimeWindowValueI

getTimeWindowStart

public double[] getTimeWindowStart()
Returns the start of the service windows for the vertex.
Specified by:
getTimeWindowStart in interface TimeWindowValueI

getTimeWindowEnd

public double[] getTimeWindowEnd()
Returns the end of the service windows for the vertex.
Specified by:
getTimeWindowEnd in interface TimeWindowValueI

setServiceTime

public void setServiceTime(double[] serviceTime)
Sets the service time for the time windows.

setTimeWindowStart

public void setTimeWindowStart(double[] windowStart)
Sets the values for the start of the time windows.

setTimeWindowEnd

public void setTimeWindowEnd(double[] windowEnd)
Sets the values for the end of the time windows.


Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com