public class SimpleResourceDepot extends AbstractResourceDepot
Modifier and Type | Class and Description |
---|---|
static class |
SimpleResourceDepot.SupplyConflictStrategy
The Enum SupplyConflictStrategy.
|
Constructor and Description |
---|
SimpleResourceDepot(String depotId,
double maximalUnitMatchedCapacity) |
Modifier and Type | Method and Description |
---|---|
IResourceDepot |
createWith(List<ILoadCapacity> loadCapacities)
Creates the with.
|
static VisitLoadCapacityExchangeHelper |
getUnmatcheLoadHelper(ILoad unmatchedLoad) |
void |
postAdd(ILoadCapacity item) |
String |
toString() |
String |
typeName()
Gets the type name.
|
VisitDepotExchangeHelper |
visit(INodeDepot nodeDepot,
ILogicEntityRoute route,
long resourceArrivalTime)
Visit.
|
add, addAndUpdate, addToCurrentTotalMatchLoad, calculateMatchLoad, getCapacityUnitMap, getCurrentTotalMatchedLoad, getEmptyAtEndOfRouteFactorMap, getEmtpyAtEndOfRouteFactor, getLoadCapacityBySearchIndex, getMaximalTotalCapacity, getPerKilometerCostFactor, getPerKilometerCostFactorMap, getSearchArraySize, inverseCalculateMatchLoad, invokeSearchArray, mergeItem, setCapacityUnitMap
add, add, get, getDepotId, getItems, remove, replace, setItems
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, add, get, getDepotId, getItems, remove
public static final String TYPE_NAME
public SimpleResourceDepot(String depotId, double maximalUnitMatchedCapacity)
public VisitDepotExchangeHelper visit(INodeDepot nodeDepot, ILogicEntityRoute route, long resourceArrivalTime)
IResourceDepot
nodeDepot
- the node depotroute
- the routeresourceArrivalTime
- the arrival timepublic static VisitLoadCapacityExchangeHelper getUnmatcheLoadHelper(ILoad unmatchedLoad)
public IResourceDepot createWith(List<ILoadCapacity> loadCapacities)
IResourceDepot
loadCapacities
- the loads@Value.Default public String typeName()
IResourceDepot
public void postAdd(ILoadCapacity item)
postAdd
in class AbstractGenericDepot<ILoadCapacity>
Copyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.