Uses of Interface
com.dna.jopt.member.unit.hours.IDutyHours
Package
Description
-
Uses of IDutyHours in com.dna.jopt.framework.outcomewrapper
Modifier and TypeMethodDescriptionAbstractOptimizationOutcome.getResourceWorkingHours
(ILogicEntityRoute route) IOptimizationOutcome.getResourceWorkingHours
(ILogicEntityRoute route) Gets the resource working hours. -
Uses of IDutyHours in com.dna.jopt.member.bucket.route
Modifier and TypeMethodDescriptionILogicEntityRoute.getRouteDutyHours()
Returns theLogicEntityRoute.currentRouteDutyHours
of thisLogicEntityRoute
.LogicEntityRoute.getRouteDutyHours()
Modifier and TypeMethodDescriptionvoid
ILogicEntityRoute.initRouteWorkingHours
(IDutyHours fakeHours) void
LogicEntityRoute.initRouteWorkingHours
(IDutyHours fakeHours) -
Uses of IDutyHours in com.dna.jopt.member.unit
Modifier and TypeFieldDescriptionprotected List<IDutyHours>
AbstractOptimizationElement.dutyHours
Modifier and TypeMethodDescriptionAbstractOptimizationElement.getDutyHours()
IOptimizationElement.getDutyHours()
Gets theIDutyHours
of theelement
.Modifier and TypeMethodDescriptionvoid
AbstractOptimizationElement.setDutyHours
(List<? extends IDutyHours> dutyHours) void
IOptimizationElement.setDutyHours
(List<? extends IDutyHours> dutyHours) Sets theduty hours
. -
Uses of IDutyHours in com.dna.jopt.member.unit.hours
Modifier and TypeInterfaceDescriptioninterface
The purpose of this interface is to have a clear distinction betweenIOpeningHours
andIWorkingHours
.interface
The interfaceIWorkingHours
.Modifier and TypeClassDescriptionclass
class
class
This class describes the hours aIResource
is allowed to work.Modifier and TypeFieldDescriptionstatic final Comparator<IDutyHours>
DutyHoursComparators.END
static final Comparator<IDutyHours>
DutyHoursComparators.START
Modifier and TypeMethodDescriptionIDutyHours.copy()
Returns the hours asWorkingHours(this.getBegin(), this.getEnd(), this.getZoneId())
orOpeningHours(this.getBegin(), this.getEnd(), this.getZoneId())
.DutyHoursCorrelator.getBaseHours()
DutyHoursCorrelator.getCompareHours()
Modifier and TypeMethodDescriptionint
AbstractDutyHours.compareTo
(IDutyHours o) void
DutyHoursCorrelator.setCorrelationInput
(IDutyHours baseHours, IDutyHours compareHours) void
DutyHoursCorrelator.setCorrelationInput
(IDutyHours baseHours, IDutyHours compareHours, long startBaseMillisOffset, long endBaseMillisOffset) void
IDutyHourCorrelator.setCorrelationInput
(IDutyHours baseHours, IDutyHours compareHours) void
IDutyHourCorrelator.setCorrelationInput
(IDutyHours baseHours, IDutyHours compareHours, long startBaseMillisOffset, long endBaseMillisOffset) -
Uses of IDutyHours in com.dna.jopt.member.unit.node
Modifier and TypeMethodDescriptionAbstractNode.getDutyHours()
AbstractNode.getOriginalDutyHours()
INode.getOriginalDutyHours()
-
Uses of IDutyHours in com.dna.jopt.member.unit.node.event
ModifierConstructorDescriptionEventNode
(String nodeId, IDutyHours[] openingHours, int visitDuration, int priority) Deprecated.EventNode
(String nodeId, IDutyHours openingHour, int visitDuration, int priority) Deprecated.please useEventNode(String, IOpeningHours, Duration, int)
instead.PillarEventNode
(String nodeId, IDutyHours openingHour) Deprecated.ModifierConstructorDescriptionEventNode
(String nodeId, List<IDutyHours> openingHours, int visitDuration, int priority) Deprecated.please useEventNode(String, IOpeningHours, Duration, int)
instead. -
Uses of IDutyHours in com.dna.jopt.member.unit.resource
ModifierConstructorDescriptionprotected
AbstractBasicCapacityResource
(String resourceId, double latitude, double longitude, double maxHours, double maxDistance, List<IDutyHours> workingHours) Deprecated.CapacityResource
(String resourceId, double latitude, double longitude, double maxHours, double maxDistance, List<IDutyHours> workingHours) Deprecated.please useCapacityResource(String, double, double, Duration, Quantity, List)
with updated parameters. -
Uses of IDutyHours in com.dna.jopt.util
Modifier and TypeMethodDescriptionExtractUtil.getResource
(IEntity entity, IDutyHours whs) Find any resource in routes of optimization results who's duty hours intersect with parameter whsstatic List<ILogicEntityRoute>
ExtractUtil.getRoutes
(IEntity entity, IDutyHours whs) Get routes with resource duty hours got intersection with working hours specified by param whs
EventNode(String, IOpeningHours, Duration, int)
orEventNode(String, List, Duration, int)
instead.