Uses of Interface
com.dna.jopt.member.unit.resource.IResource
Packages that use IResource
Package
Description
-
Uses of IResource in com.dna.jopt.framework.body
Methods in com.dna.jopt.framework.body that return types with arguments of type IResourceModifier and TypeMethodDescriptionIOptimization.getReassignResources()
Optimization.getReassignResources()
Methods in com.dna.jopt.framework.body with parameters of type IResourceModifier and TypeMethodDescriptionvoid
IOptimization.addElement
(IResource res) Adds anIResource
to the optimization.void
Optimization.addElement
(IResource res) Method parameters in com.dna.jopt.framework.body with type arguments of type IResourceModifier and TypeMethodDescriptionvoid
IOptimization.addReassignResources
(List<IResource> ress) Adds reassign resources.void
Optimization.addReassignResources
(List<IResource> ress) void
IOptimization.addResources
(List<IResource> resources) Adds allresources
in the list to the optimization.void
Optimization.addResources
(List<IResource> resources) -
Uses of IResource in com.dna.jopt.member.bucket.entity
Methods in com.dna.jopt.member.bucket.entity that return types with arguments of type IResourceModifier and TypeMethodDescriptionMethods in com.dna.jopt.member.bucket.entity with parameters of type IResourceModifier and TypeMethodDescriptionEntity.getRoutesByResource
(IResource res) IEntity.getRoutesByResource
(IResource res) -
Uses of IResource in com.dna.jopt.member.bucket.route
Methods in com.dna.jopt.member.bucket.route that return IResourceModifier and TypeMethodDescriptionILogicEntityRoute.getCurrentVisitingResource()
Gets theIResource
that is visiting thisRoute
.LogicEntityRoute.getCurrentVisitingResource()
Methods in com.dna.jopt.member.bucket.route with parameters of type IResourceModifier and TypeMethodDescriptionvoid
ILogicEntityRoute.setCurrentVisitingResource
(IResource res, int workingHourIndex) void
LogicEntityRoute.setCurrentVisitingResource
(IResource res, int workingHourIndex) -
Uses of IResource in com.dna.jopt.member.unit.node
Methods in com.dna.jopt.member.unit.node with parameters of type IResourceModifier and TypeMethodDescriptionvoid
IPillarNode.attachResource
(IResource mandatoryVisitor) Attaching themandatoryVisitor
as the visitingresource
will be treated as ahard constraint
if amandatoryVisitor
was set using this method. -
Uses of IResource in com.dna.jopt.member.unit.node.event
Methods in com.dna.jopt.member.unit.node.event with parameters of type IResourceModifier and TypeMethodDescriptionvoid
PillarEventNode.attachResource
(IResource mandatoryVisitor) -
Uses of IResource in com.dna.jopt.member.unit.node.geo
Methods in com.dna.jopt.member.unit.node.geo with parameters of type IResourceModifier and TypeMethodDescriptionvoid
PillarTimeWindowGeoNode.attachResource
(IResource mandatoryVisitor) -
Uses of IResource in com.dna.jopt.member.unit.nodeedge
Methods in com.dna.jopt.member.unit.nodeedge with parameters of type IResourceModifier and TypeMethodDescriptionINodeEdgeConnector.getNodeConnection
(IOptimizationElement from, IOptimizationElement to, IResource visitor) Gets a specific node connection.NodeEdgeConnector.getNodeConnection
(IOptimizationElement fromElement, IOptimizationElement toElement, IResource visitor) long
INodeConnectorItem.getTimeMillis
(IResource visitor) Gets the traveling time in milliseconds correct for potential visitor modifications.long
INodeConnectorItem.getTimeMillis
(IResource visitor, Instant time) Gets the driving time as function of time.long
NodeEdgeConnectorItem.getTimeMillis
(IResource visitor) long
NodeEdgeConnectorItem.getTimeMillis
(IResource visitor, Instant time) -
Uses of IResource in com.dna.jopt.member.unit.nodeedge.backupconnector
Methods in com.dna.jopt.member.unit.nodeedge.backupconnector with parameters of type IResourceModifier and TypeMethodDescriptionjavax.measure.Quantity<javax.measure.quantity.Length>
DefaultFlatEarthAverageSpeedBackupElementConnector.getElement2ElementDistance
(String fromElementId, double fromElementLon, double fromElementLat, String toElementId, double toElementLon, double toElementLat, IResource visitor) Using flat place on earth formula to calculate the distance between twoIOptimizationElement
.javax.measure.Quantity<javax.measure.quantity.Length>
IBackupElementConnector.getElement2ElementDistance
(String fromElementId, double fromElementLon, double fromElementLat, String toElementId, double toElementLon, double toElementLat, IResource visitor) Calculates the distance between twoIOptimizationElement
defined by their unique id.DefaultFlatEarthAverageSpeedBackupElementConnector.getElement2ElementDuration
(String fromElementId, String toElementId, double distanceMeter, IResource visitor) Calculates the driving duration between twoIOptimizationElement
assuming the average resource-visitor speed.IBackupElementConnector.getElement2ElementDuration
(String fromElementId, String toElementId, double distanceMeter, IResource visitor) Calculates the driving duration between twoIOptimizationElement
defined by their unique id. -
Uses of IResource in com.dna.jopt.member.unit.nodeedge.externalprovider
Methods in com.dna.jopt.member.unit.nodeedge.externalprovider with parameters of type IResourceModifier and TypeMethodDescriptionIExternalConnectionProvider.getConnection
(IOptimizationElement fromElement, IOptimizationElement toElement, IResource visitor) Gets the connection. -
Uses of IResource in com.dna.jopt.member.unit.nodeedge.externalprovider.separatedprovider
Methods in com.dna.jopt.member.unit.nodeedge.externalprovider.separatedprovider with parameters of type IResourceModifier and TypeMethodDescriptionSeparatedTestConnectionProvider.getConnection
(IOptimizationElement fromElement, IOptimizationElement toElement, IResource visitor) -
Uses of IResource in com.dna.jopt.member.unit.resource
Classes in com.dna.jopt.member.unit.resource that implement IResourceModifier and TypeClassDescriptionclass
Fields in com.dna.jopt.member.unit.resource with type parameters of type IResourceModifier and TypeFieldDescriptionstatic final Comparator<IResource>
ResourceComparators.EFF_FIXCOST_EFF_RES_COMP
static final Comparator<IResource>
ResourceComparators.EFF_RES_COMP
static final Comparator<IResource>
ResourceComparators.FIXCOST_RES_COMP
Methods in com.dna.jopt.member.unit.resource that return IResourceModifier and TypeMethodDescriptionstatic IResource
AbstractBasicCapacityResource.copyWithNewId
(IResource src, String targetId) Methods in com.dna.jopt.member.unit.resource with parameters of type IResourceModifier and TypeMethodDescriptionstatic IResource
AbstractBasicCapacityResource.copyWithNewId
(IResource src, String targetId) -
Uses of IResource in com.dna.jopt.util
Methods in com.dna.jopt.util that return types with arguments of type IResourceModifier and TypeMethodDescriptionExtractUtil.getResource
(IEntity entity, IDutyHours whs) Find any resource in routes of optimization results who's duty hours intersect with parameter whsExtractUtil.getResource
(IEntity entity, String resourceId) find resource by ID in routes of optimization result -
Uses of IResource in com.dna.jopt.util.nodesplitter
Methods in com.dna.jopt.util.nodesplitter that return types with arguments of type IResourceModifier and TypeMethodDescriptionNodeSplitter.optiToResourceMap
(IOptimization opti) NodeSplitter.resourcesToResourceMap
(List<IResource> ress) Method parameters in com.dna.jopt.util.nodesplitter with type arguments of type IResourceModifier and TypeMethodDescriptionNodeSplitter.resourcesToResourceMap
(List<IResource> ress) NodeSplitter.splitNodeByConstantMaxDuration
(INode srcNode, Map<String, IResource> map, BiFunction<INode, Integer, String> idGenerator, Duration maxIndividualDuration) Split node by constant max duration.NodeSplitter.splitNodeByConstantMaxNumber
(INode srcNode, Map<String, IResource> map, BiFunction<INode, Integer, String> idGenerator, int numElements) NodeSplitter.splitNodeByFlexibleDuration
(INode srcNode, Map<String, IResource> map, Duration maxIndividualDuration) Split node by flexible duration.NodeSplitter.splitNodeByFlexibleDuration
(INode srcNode, Map<String, IResource> map, Duration maxIndividualDuration, Duration minIndividualDuration) NodeSplitter.splitNodeByFlexibleDuration
(INode srcNode, Map<String, IResource> map, BiFunction<INode, Integer, String> idGenerator, Duration maxIndividualDuration, Duration minIndividualDuration, double splitRatio)