public interface IResourceDepot
Modifier and Type | Method and Description |
---|---|
boolean |
add(ILoadCapacity load)
Adds the.
|
void |
add(List<ILoadCapacity> loads)
Adds the.
|
void |
add(String loadId,
double capacityFactor)
Adds the.
|
void |
addAndUpdate(List<ILoadCapacity> loadCapacities,
int arraySize)
Adds the and update.
|
double |
calculateMatchLoad(String itemId,
double loadValue)
Calculate match load.
|
IResourceDepot |
createWith(List<ILoadCapacity> loads)
Creates the with.
|
Optional<ILoadCapacity> |
get(String key)
Gets the.
|
double |
getCurrentTotalMatchedLoad()
Gets the current total matched load.
|
String |
getDepotId()
Gets the depot id.
|
int |
getEmtpyAtEndOfRouteFactor(String id)
Gets the emtpy at end of route factor.
|
List<ILoadCapacity> |
getItems()
Gets the items.
|
Optional<ILoadCapacity> |
getLoadCapacityBySearchIndex(int index)
Gets the load capacity by search index.
|
double |
getMaximalTotalCapacity()
Gets the maximal total capacity.
|
int |
getPerKilometerCostFactor(String loadId)
Gets the per kilometer cost factor.
|
int |
getSearchArraySize()
Gets the search array size.
|
double |
inverseCalculateMatchLoad(String itemId,
double matchedloadValue)
Inverse calculate match load.
|
void |
invokeSearchArray(String[] loadIds)
Invoke search array.
|
boolean |
remove(ILoadCapacity item)
Removes the.
|
void |
setCapacityUnitMap(Map<String,Double> capacityUnitMap)
Sets the capacity unit map.
|
String |
typeName()
Gets the type name.
|
VisitDepotExchangeHelper |
visit(INodeDepot nodeDepot,
ILogicEntityRoute route,
long arrivalTime)
Visit.
|
String getDepotId()
String typeName()
VisitDepotExchangeHelper visit(INodeDepot nodeDepot, ILogicEntityRoute route, long arrivalTime)
nodeDepot
- the node depotroute
- the routearrivalTime
- the arrival timeboolean add(ILoadCapacity load)
load
- the loadvoid add(List<ILoadCapacity> loads)
loads
- the loadsboolean remove(ILoadCapacity item)
item
- the itemOptional<ILoadCapacity> get(String key)
key
- the keyIResourceDepot createWith(List<ILoadCapacity> loads)
loads
- the loadsdouble getMaximalTotalCapacity()
void add(String loadId, double capacityFactor)
loadId
- the load idcapacityFactor
- the capacity factordouble getCurrentTotalMatchedLoad()
double calculateMatchLoad(String itemId, double loadValue)
itemId
- the item idloadValue
- the load valuedouble inverseCalculateMatchLoad(String itemId, double matchedloadValue)
itemId
- the item idmatchedloadValue
- the matchedload valueint getEmtpyAtEndOfRouteFactor(String id)
id
- the idint getPerKilometerCostFactor(String loadId)
loadId
- the load idvoid invokeSearchArray(String[] loadIds)
loadIds
- the load idsList<ILoadCapacity> getItems()
Optional<ILoadCapacity> getLoadCapacityBySearchIndex(int index)
index
- the indexint getSearchArraySize()
void addAndUpdate(List<ILoadCapacity> loadCapacities, int arraySize)
loadCapacities
- the load capacitiesarraySize
- the array sizeCopyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.