MCPcopy Create free account
hub / github.com/PyVRP/PyVRP / load

Method load

pyvrp/cpp/search/Route.h:844–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

842}
843
844LoadSegment Route::SegmentBetween::load(size_t dimension) const
845{
846 auto const &loads = route_.loadAt[dimension];
847
848 auto loadSegment = loads[start];
849 for (size_t step = start; step != end; ++step)
850 loadSegment = LoadSegment::merge(loadSegment, loads[step + 1]);
851
852 return loadSegment;
853}
854
855bool Route::isFeasible() const
856{

Callers 15

from_fileMethod · 0.45
PYBIND11_MODULEFunction · 0.45
RouteMethod · 0.45
TripMethod · 0.45
Route.hFile · 0.45
excessLoadMethod · 0.45
PYBIND11_MODULEFunction · 0.45
loadSolutionMethod · 0.45
updateMethod · 0.45
deltaLoadCostMethod · 0.45
test_loadFunction · 0.45
test_merge_twoFunction · 0.45

Calls

no outgoing calls