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