public class TimeWindowedCustomer extends Customer
demand, location, nextCustomer, previousStandstill, vehicle
id
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, toString
getId, setId
public 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 Standstill
getNextCustomer
in class Customer
public long getTimeWindowGapTo(TimeWindowedCustomer other)
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.