org.optaplanner.examples.vehiclerouting.domain.timewindowed
Class VrpTimeWindowedCustomer
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.vehiclerouting.domain.VrpCustomer
org.optaplanner.examples.vehiclerouting.domain.timewindowed.VrpTimeWindowedCustomer
- All Implemented Interfaces:
- Serializable, Comparable<AbstractPersistable>, VrpStandstill
public class VrpTimeWindowedCustomer
- extends VrpCustomer
- See Also:
- Serialized Form
Methods inherited from class org.optaplanner.examples.vehiclerouting.domain.VrpCustomer |
getDemand, getDistanceTo, getDistanceToPreviousStandstill, getLocation, getPreviousStandstill, getVehicle, setDemand, setLocation, setNextCustomer, setPreviousStandstill, setVehicle, solutionEquals, solutionHashCode, toString |
VrpTimeWindowedCustomer
public VrpTimeWindowedCustomer()
getReadyTime
public int getReadyTime()
setReadyTime
public void setReadyTime(int readyTime)
getDueTime
public int getDueTime()
setDueTime
public void setDueTime(int dueTime)
getServiceDuration
public int getServiceDuration()
setServiceDuration
public void setServiceDuration(int serviceDuration)
getArrivalTime
public Integer getArrivalTime()
setArrivalTime
public void setArrivalTime(Integer arrivalTime)
getTimeWindowLabel
public String getTimeWindowLabel()
getDepartureTime
public Integer getDepartureTime()
isArrivalBeforeReadyTime
public boolean isArrivalBeforeReadyTime()
isArrivalAfterDueTime
public boolean isArrivalAfterDueTime()
getNextCustomer
public VrpTimeWindowedCustomer getNextCustomer()
- Specified by:
getNextCustomer
in interface VrpStandstill
- Overrides:
getNextCustomer
in class VrpCustomer
- Returns:
- sometimes null
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.