OptaPlanner distribution 6.0.0-SNAPSHOT

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

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

public class TimeWindowedCustomer
extends Customer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.vehiclerouting.domain.Customer
demand, location, nextCustomer, previousStandstill, vehicle
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
TimeWindowedCustomer()
           
 
Method Summary
 Integer getDepartureTime()
           
 Integer getMilliArrivalTime()
           
 int getMilliDueTime()
           
 int getMilliReadyTime()
           
 int getMilliServiceDuration()
           
 TimeWindowedCustomer getNextCustomer()
           
 String getTimeWindowLabel()
           
 boolean isArrivalAfterDueTime()
           
 boolean isArrivalBeforeReadyTime()
           
 void setMilliArrivalTime(Integer milliArrivalTime)
           
 void setMilliDueTime(int milliDueTime)
           
 void setMilliReadyTime(int milliReadyTime)
           
 void setMilliServiceDuration(int milliServiceDuration)
           
 
Methods inherited from class org.optaplanner.examples.vehiclerouting.domain.Customer
getDemand, getLocation, getMilliDistanceTo, getMilliDistanceToPreviousStandstill, getPreviousStandstill, getVehicle, setDemand, setLocation, setNextCustomer, setPreviousStandstill, setVehicle, solutionEquals, solutionHashCode, toString
 
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
compareTo, getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeWindowedCustomer

public TimeWindowedCustomer()
Method Detail

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

OptaPlanner distribution 6.0.0-SNAPSHOT

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