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 TypeMethodDescriptionvoidIOptimization.addElement(IResource res) Adds anIResourceto the optimization.voidOptimization.addElement(IResource res) Method parameters in com.dna.jopt.framework.body with type arguments of type IResourceModifier and TypeMethodDescriptionvoidIOptimization.addReassignResources(List<IResource> ress) Adds reassign resources.voidOptimization.addReassignResources(List<IResource> ress) voidIOptimization.addResources(List<IResource> resources) Adds allresourcesin the list to the optimization.voidOptimization.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 IResourceMethods in com.dna.jopt.member.bucket.entity with parameters of type IResourceModifier and TypeMethodDescriptionEntity.getRouteByResourceAndWorkingHoursIndex(IResource res, int index) IEntity.getRouteByResourceAndWorkingHoursIndex(IResource res, int index) Entity.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 theIResourcethat is visiting thisRoute.LogicEntityRoute.getCurrentVisitingResource()Methods in com.dna.jopt.member.bucket.route with parameters of type IResourceModifier and TypeMethodDescriptionvoidILogicEntityRoute.setCurrentVisitingResource(IResource res, int workingHourIndex) voidLogicEntityRoute.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 TypeMethodDescriptionvoidIPillarNode.attachResource(IResource mandatoryVisitor) Attaching themandatoryVisitoras the visitingresourcewill be treated as ahard constraintif amandatoryVisitorwas set using this method.booleanAbstractNode.isOnBlackList(IResource res) booleanINode.isOnBlackList(IResource res) voidAbstractNode.putResourceToBlacklist(IResource res) voidINode.putResourceToBlacklist(IResource res) -
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 TypeMethodDescriptionvoidPillarEventNode.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 TypeMethodDescriptionvoidPillarTimeWindowGeoNode.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) longINodeConnectorItem.getTimeMillis(IResource visitor) Gets the traveling time in milliseconds correct for potential visitor modifications.longINodeConnectorItem.getTimeMillis(IResource visitor, Instant time) Gets the driving time as function of time.longNodeEdgeConnectorItem.getTimeMillis(IResource visitor) longNodeEdgeConnectorItem.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 twoIOptimizationElementdefined by their unique id.DefaultFlatEarthAverageSpeedBackupElementConnector.getElement2ElementDuration(String fromElementId, String toElementId, double distanceMeter, IResource visitor) Calculates the driving duration between twoIOptimizationElementassuming the average resource-visitor speed.IBackupElementConnector.getElement2ElementDuration(String fromElementId, String toElementId, double distanceMeter, IResource visitor) Calculates the driving duration between twoIOptimizationElementdefined 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 TypeClassDescriptionclassFields in com.dna.jopt.member.unit.resource with type parameters of type IResourceModifier and TypeFieldDescriptionstatic final Comparator<IResource>ResourceComparators.EFF_FIXCOST_EFF_RES_COMPstatic final Comparator<IResource>ResourceComparators.EFF_RES_COMPstatic final Comparator<IResource>ResourceComparators.FIXCOST_RES_COMPMethods in com.dna.jopt.member.unit.resource that return IResourceModifier and TypeMethodDescriptionstatic IResourceAbstractBasicCapacityResource.copyWithNewId(IResource src, String targetId) Methods in com.dna.jopt.member.unit.resource with parameters of type IResourceModifier and TypeMethodDescriptionstatic IResourceAbstractBasicCapacityResource.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)