org.optaplanner.examples.vehiclerouting.domain.timewindowed
Class TimeWindowedCustomer
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.vehiclerouting.domain.Customer
org.optaplanner.examples.vehiclerouting.domain.timewindowed.TimeWindowedCustomer
- All Implemented Interfaces:
- Serializable, Comparable<AbstractPersistable>, Standstill
public class TimeWindowedCustomer
- extends Customer
- See Also:
- Serialized Form
Methods inherited from class org.optaplanner.examples.vehiclerouting.domain.Customer |
getDemand, getLocation, getMilliDistanceTo, getMilliDistanceToPreviousStandstill, getPreviousStandstill, getVehicle, setDemand, setLocation, setNextCustomer, setPreviousStandstill, setVehicle, solutionEquals, solutionHashCode, toString |
TimeWindowedCustomer
public TimeWindowedCustomer()
getMilliReadyTime
public int getMilliReadyTime()
setMilliReadyTime
public void setMilliReadyTime(int milliReadyTime)
getMilliDueTime
public int getMilliDueTime()
setMilliDueTime
public void setMilliDueTime(int milliDueTime)
getMilliServiceDuration
public int getMilliServiceDuration()
setMilliServiceDuration
public void setMilliServiceDuration(int milliServiceDuration)
getMilliArrivalTime
public Integer getMilliArrivalTime()
setMilliArrivalTime
public void setMilliArrivalTime(Integer milliArrivalTime)
getTimeWindowLabel
public String getTimeWindowLabel()
getDepartureTime
public Integer getDepartureTime()
isArrivalBeforeReadyTime
public boolean isArrivalBeforeReadyTime()
isArrivalAfterDueTime
public boolean isArrivalAfterDueTime()
getNextCustomer
public TimeWindowedCustomer getNextCustomer()
- Specified by:
getNextCustomer
in interface Standstill
- Overrides:
getNextCustomer
in class Customer
- Returns:
- sometimes null
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.