OptaPlanner distribution 6.2.1-SNAPSHOT

org.optaplanner.examples.vehiclerouting.domain.timewindowed
Class TimeWindowedDepot

java.lang.Object
  extended by org.optaplanner.examples.common.domain.AbstractPersistable
      extended by org.optaplanner.examples.vehiclerouting.domain.Depot
          extended by org.optaplanner.examples.vehiclerouting.domain.timewindowed.TimeWindowedDepot
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>

public class TimeWindowedDepot
extends Depot

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.vehiclerouting.domain.Depot
location
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
TimeWindowedDepot()
           
 
Method Summary
 int getDueTime()
           
 int getReadyTime()
           
 void setDueTime(int dueTime)
           
 void setReadyTime(int readyTime)
           
 
Methods inherited from class org.optaplanner.examples.vehiclerouting.domain.Depot
getDistanceTo, getLocation, setLocation
 
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
compareTo, getId, setId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeWindowedDepot

public TimeWindowedDepot()
Method Detail

getReadyTime

public int getReadyTime()
Returns:
a positive number, the time multiplied by 1000 to avoid floating point arithmetic rounding errors

setReadyTime

public void setReadyTime(int readyTime)

getDueTime

public int getDueTime()
Returns:
a positive number, the time multiplied by 1000 to avoid floating point arithmetic rounding errors

setDueTime

public void setDueTime(int dueTime)

OptaPlanner distribution 6.2.1-SNAPSHOT

Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.