Class VisitDepotExchangeHelper
java.lang.Object
com.dna.jopt.member.unit.pnd.loadexchange.VisitDepotExchangeHelper
-
Constructor Summary
ConstructorsConstructorDescriptionVisitDepotExchangeHelper(INodeDepot nodeDepot, IResourceDepot resourceDeopt, List<VisitLoadCapacityExchangeHelper> violatingExchanges) VisitDepotExchangeHelper(INodeDepot nodeDepotBeforeVisit, List<ILoad> loadsAfterVisit, IResourceDepot resourceDeopt, List<VisitLoadCapacityExchangeHelper> violatingExchanges) Creates a helper that creates the node depot after the visit only when it is read, withINodeDepot.createWith(List)of the node depot before the visit. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
VisitDepotExchangeHelper
public VisitDepotExchangeHelper(INodeDepot nodeDepot, IResourceDepot resourceDeopt, List<VisitLoadCapacityExchangeHelper> violatingExchanges) -
VisitDepotExchangeHelper
public VisitDepotExchangeHelper(INodeDepot nodeDepotBeforeVisit, List<ILoad> loadsAfterVisit, IResourceDepot resourceDeopt, List<VisitLoadCapacityExchangeHelper> violatingExchanges) Creates a helper that creates the node depot after the visit only when it is read, withINodeDepot.createWith(List)of the node depot before the visit. The list of loads must not change afterwards.- Parameters:
nodeDepotBeforeVisit- the node depot that was visitedloadsAfterVisit- the loads of the node depot after the visitresourceDeopt- the resource depot after the visitviolatingExchanges- the violating exchanges of the visit
-
-
Method Details
-
getResourceDeopt
-
getNodeDepot
-
getViolatingExchanges
-