JOpt.SDK
Interface IServicingHours
- All Known Implementing Classes:
- ServicingHours
- public interface IServicingHours
IServicingHours provide an interface to access the node's real servicing hours. IServicingHours are determined by the optimizer as a result of an optimization run.
Any underlying ServicingHours instance is defined by exactly one pair of arrival/departure times. A node can have multiple servicing hours in case it is not
possible to consume the estimated visit duration within one visit.
- See Also:
ITimeWindowNode.setVisitDuration()
setServicingHoursBegin
public void setServicingHoursBegin(java.util.GregorianCalendar begin)
- Parameters:
begin - defines the servicing hours begin date and time
getServicingHoursBegin
public java.util.GregorianCalendar getServicingHoursBegin()
- Returns:
- the servicing hours begin of that node (usually: arrival time; except when serving one single node for multiple days)
setServicingHoursEnd
public void setServicingHoursEnd(java.util.GregorianCalendar end)
- Parameters:
end - defines the servicing hours end date and time
getServicingHoursEnd
public java.util.GregorianCalendar getServicingHoursEnd()
- Returns:
- the serviving hours end of that node (usually: departure time; except when serving one single node for multiple days)