public interface IPillarNode extends INode
PillarNodes
. In contrary to a INode
IResource
are not allowed to be late at Pillars
. If a Pillar
can not be given service within the IOpeningHours
the Pillar
has to be skipped.IOptimizationElement.OptimizationElementFlavour
Modifier and Type | Method and Description |
---|---|
void |
attachResource(IResource mandatoryVisitor)
Attaching the
mandatoryVisitor as the visiting resource will be treated as a hard constraint
if a mandatoryVisitor was set using this method. |
String |
getAttachedResourceId()
|
boolean |
getLastKnownAsRouteTermination() |
boolean |
isOnlyScheduledInCompany()
Some
Pillars that are scheduled are not actually jobs. |
boolean |
isOverwritingRouteStartOrTermination()
Checks if the
Pillar is an AnchorPillar in which case the Route has to start or
and at said AnchorPillar . |
boolean |
isOverwritingRouteTermination()
Checks if it is an
AnchorPillar at which the Route has to start or end. |
boolean |
isResourceAttached()
Checks the state of
PillarTimeWindowGeoNode.attachedres . |
boolean |
isSchedulableAfterWorkingHours()
|
boolean |
isSchedulableBeforeWorkingHours()
|
boolean |
isTimeAdjustableAnchor()
|
void |
setIsOnlyScheduledInCompany(boolean isOnlyScheduledInCompany)
Sets the
Pillar only to be visited of other work Nodes are scheduled that day. |
void |
setIsOverwritingRouteTermination(boolean isOverwritingRouteTermination,
boolean isAdjustable)
Sets the
Pillar to bean AnchorPillar at which the Route has to start or end. |
void |
setIsSchedulableOutsideWorkingHours(boolean isSchedulableOutsideWorkingsHoursStart,
boolean isSchedulableOutsideWorkingsHoursEnd)
Sets the
Pillar that it has to be visited by a Resource outside of her WorkingHours
if IResource.setMaxPillarAfterHoursTime(Duration) is also set to true . |
addConstraint, addNode2NodeRelation, addQualification, addSubsequentSlaveNode, addSubsequentSlaveNodes, addViolation, decrementCurrentAutoFilterProtectedExecutions, detachNodeRelations, detachResourceConstraints, detachResourceConstraints, getAutoFilterViolationCollector, getBaseJointVisitDuration, getBaseJointVisitDurationMillis, getBaseVisitDuration, getBaseVisitDurationMillis, getConstraints, getCurrentLeftAutoFilterProtectedExecutions, getFirstNodeInRouteImportance, getFixCost, getImportance, getIndividualOfferedNodeMultiplier, getJointVisitDuration, getJointVisitDurationMillis, getLastKnownAttachedAndRemovedResIds, getLastNodeInRouteImportance, getLoad, getLockdownTime, getMinVisitDurationMillis, getNode2NodeRelations, getNodeColor, getNodeDepot, getOriginalDutyHours, getQualifications, getStayAtStartDuration, getSubsequentSlaveNodes, getTempImplausibleScore, getTotalLoadDimension, getUnloadAllDimension, getViolations, getVisitDurationMillis, hasFullJobLevelRelations, hasRelations, hasRouteDependentVisitDuration, isAllowMoveToReduceFlexTime, isAutoFilterProtected, isCausingIdleTimeCost, isDutyHoursIncludesVisitDuration, isOfferedNode, isOptimizable, isOptional, isPillarNode, isReturnStart, isStayNode, isUnassigned, isUnloadAll, isUseJointVisitDuration, isWaitOnEarlyArrival, isWaitOnEarlyArrivalFirstNode, isWorkNode, removeConstraint, removeNode2NodeRelations, resetDutyHoursTempActivation, resetLockdownTime, resetSubsequentSlaveNodes, setAllowMoveToReduceFlexTime, setAutoFilterConstraints, setConstraints, setFirstNodeInRouteImportance, setFixCost, setHasRouteDependentVisitDuration, setImportance, setIndividualOfferedNodeMultiplier, setIsCausingIdleTimeCost, setIsDutyHoursIncludesVisitDuration, setIsOfferedNode, setIsOptional, setIsReturnStart, setIsStayNode, setIsWorkNode, setJointVisitDuration, setLastNodeInRouteImportance, setLoad, setLockdownTime, setMinAutoFilterProtectedExecutions, setMinimalVisitDuration, setNodeColor, setNodeDepot, setOptimizable, setOptimizable, setUnassigned, setUnloadAll, setUnloadAllDimension, setVisitDuration, setVisitDurationMillis, setWaitOnEarlyArrival, setWaitOnEarlyArrivalFirstNode, tempIncreaseImplausibleScore, tempSetActiveDutyHours
forceSetId, getDistMatrixId, getDutyHours, getExtraInfo, getFlavour, getId, getLatitude, getLocationId, getLongitude, getNodeConnection, getNodeConnectionKeySet, getNodeConnections, getPosition, getPreferredHoursInteractionController, hasRealGeoLocation, putNodeConnection, putNodeConnectionFromElement, removeNodeConnection, setDistMatrixId, setDutyHours, setExtraInfo, setId, setLatitude, setLocationId, setLongitude, setPosition
void attachResource(IResource mandatoryVisitor)
mandatoryVisitor
as the visiting resource
will be treated as a hard constraint
if a mandatoryVisitor
was set using this method.
Throws an IllegalStateException
if a mandatoryVisitor
has already been attached
mandatoryVisitor
- the Resource to attach to the PillarnodeIllegalStateException
- if a mandatoryVisitor has already been attachedboolean isResourceAttached()
PillarTimeWindowGeoNode.attachedres
.String getAttachedResourceId()
boolean isOnlyScheduledInCompany()
Pillars
that are scheduled are not actually jobs. Setting this to true
these Pillars
only
need to be visited if they occur on a day that work Nodes
are scheduled.
The default value is false
.Node
is only scheduled in companyvoid setIsOnlyScheduledInCompany(boolean isOnlyScheduledInCompany)
Pillar
only to be visited of other work Nodes
are scheduled that day.
The default value is false
.isOnlyScheduledInCompany
- the boolean whether the Node
is only scheduled in companyvoid setIsSchedulableOutsideWorkingHours(boolean isSchedulableOutsideWorkingsHoursStart, boolean isSchedulableOutsideWorkingsHoursEnd)
Pillar
that it has to be visited by a Resource
outside of her WorkingHours
if IResource.setMaxPillarAfterHoursTime(Duration)
is also set to true
.isSchedulableOutsideWorkingsHoursStart
- the boolean if working is possible before workingHoursisSchedulableOutsideWorkingsHoursEnd
- the boolean if working is possible after workingHoursboolean isSchedulableBeforeWorkingHours()
PillarTimeWindowGeoNode.isSchedulableOutsideWorkingsHoursStart
. The default value is false
.boolean isSchedulableAfterWorkingHours()
PillarTimeWindowGeoNode.isSchedulableOutsideWorkingsHoursEnd
. The default value is false
.boolean isOverwritingRouteTermination()
AnchorPillar
at which the Route
has to start or end.void setIsOverwritingRouteTermination(boolean isOverwritingRouteTermination, boolean isAdjustable)
Pillar
to bean AnchorPillar
at which the Route
has to start or end.
The boolean
defines whether the Pillar
can still be moved.isOverwritingRouteTermination
- the boolean whether it is overwriting route terminationisAdjustable
- the boolean whether it is adjustableboolean isTimeAdjustableAnchor()
PillarTimeWindowGeoNode.isTimeAdjustableAnchor
. If yes, then the Pillar
is allowed
to change time a bit if the Route
start is moving as well. The default value is false
.boolean isOverwritingRouteStartOrTermination()
Pillar
is an AnchorPillar
in which case the Route
has to start or
and at said AnchorPillar
.
The default values are false
boolean getLastKnownAsRouteTermination()
Copyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.