public class TimeWindowedCustomer extends Customer
demand, location, nextCustomer, previousStandstill, vehicleid| Constructor and Description |
|---|
TimeWindowedCustomer() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getArrivalTime() |
Long |
getDepartureTime() |
long |
getDueTime() |
TimeWindowedCustomer |
getNextCustomer() |
long |
getReadyTime() |
long |
getServiceDuration() |
long |
getTimeWindowGapTo(TimeWindowedCustomer other) |
boolean |
isArrivalAfterDueTime() |
boolean |
isArrivalBeforeReadyTime() |
void |
setArrivalTime(Long arrivalTime) |
void |
setDueTime(long dueTime) |
void |
setReadyTime(long readyTime) |
void |
setServiceDuration(long serviceDuration) |
getDemand, getDistanceFrom, getDistanceFromPreviousStandstill, getDistanceTo, getLocation, getPreviousStandstill, getVehicle, setDemand, setLocation, setNextCustomer, setPreviousStandstill, setVehicle, toStringcompareTo, getId, setIdpublic long getReadyTime()
public void setReadyTime(long readyTime)
public long getDueTime()
public void setDueTime(long dueTime)
public long getServiceDuration()
public void setServiceDuration(long serviceDuration)
public Long getArrivalTime()
public void setArrivalTime(Long arrivalTime)
public Long getDepartureTime()
public boolean isArrivalBeforeReadyTime()
public boolean isArrivalAfterDueTime()
public TimeWindowedCustomer getNextCustomer()
getNextCustomer in interface StandstillgetNextCustomer in class Customerpublic long getTimeWindowGapTo(TimeWindowedCustomer other)
Copyright © 2006–2015 JBoss by Red Hat. All rights reserved.