public interface ILoadCapacity extends IPNDItem
Modifier and Type | Method and Description |
---|---|
double |
getCurrentLoad()
Gets the current load.
|
Optional<Long> |
getLoadPickupTime()
Gets the load pickup time.
|
double |
getMaximalIndividualLoadCapacity()
Gets the maximal individual load capacity.
|
Optional<ILoadCapacity> |
merge(ILoadCapacity itemTwo)
Merge two capacities.
|
void |
setLoadPickupTime(long loadPickupTimeMillis) |
VisitLoadCapacityExchangeHelper |
visit(ILoad load,
IResourceDepot orgResourceDepot,
double totalMatchedLeftCapacity,
ILogicEntityRoute route,
long resourceArrivalTime)
The capacity is "visiting" a load.
|
getId, getSearchIndex, setSearchIndex, typeName
double getCurrentLoad()
double getMaximalIndividualLoadCapacity()
Optional<ILoadCapacity> merge(ILoadCapacity itemTwo)
itemTwo
- the item twoVisitLoadCapacityExchangeHelper visit(ILoad load, IResourceDepot orgResourceDepot, double totalMatchedLeftCapacity, ILogicEntityRoute route, long resourceArrivalTime)
load
- the load to be visitedorgResourceDepot
- the original resource depot before the visittotalMatchedLeftCapacity
- the total matched left capacity of the depot beofre visitroute
- the route with the resource that is holding the resource depotresourceArrivalTime
- the arrivalTime at the loadvoid setLoadPickupTime(long loadPickupTimeMillis)
Copyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.