MCPcopy Index your code
hub / github.com/PyVRP/PyVRP / excessLoad

Method excessLoad

pyvrp/cpp/LoadSegment.h:111–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111Load LoadSegment::excessLoad(Load capacity) const
112{
113 return excessLoad_ + std::max<Load>(load_ - capacity, 0);
114}
115
116LoadSegment LoadSegment::finalise(Load capacity) const
117{

Callers 8

PYBIND11_MODULEFunction · 0.45
LoadSegment.cppFile · 0.45
evaluateMethod · 0.45
RouteMethod · 0.45
CostEvaluator.hFile · 0.45
penalisedCostMethod · 0.45
deltaCostMethod · 0.45
TripMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected