Class TimeWindowedDepot
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.vehiclerouting.domain.Depot
org.optaplanner.examples.vehiclerouting.domain.timewindowed.TimeWindowedDepot
-
Field Summary
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglongvoidsetDueTime(long dueTime) voidsetReadyTime(long readyTime) Methods inherited from class org.optaplanner.examples.vehiclerouting.domain.Depot
getLocation, setLocation, toStringMethods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId
-
Constructor Details
-
TimeWindowedDepot
public TimeWindowedDepot() -
TimeWindowedDepot
-
-
Method Details
-
getReadyTime
public long getReadyTime()- Returns:
- a positive number, the time multiplied by 1000 to avoid floating point arithmetic rounding errors
-
setReadyTime
public void setReadyTime(long readyTime) -
getDueTime
public long getDueTime()- Returns:
- a positive number, the time multiplied by 1000 to avoid floating point arithmetic rounding errors
-
setDueTime
public void setDueTime(long dueTime)
-