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

Method isReloadDepot

pyvrp/cpp/search/Route.h:686–694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

684}
685
686bool Route::Node::isReloadDepot() const
687{
688 // clang-format off
689 return route_
690 && loc_ < route_->data.numDepots()
691 && !isStartDepot()
692 && !isEndDepot();
693 // clang-format on
694}
695
696Route::SegmentAfter::SegmentAfter(Route const &route, size_t start)
697 : route_(route), start(start)

Callers 10

endsAtReloadDepotMethod · 0.80
startsAtReloadDepotMethod · 0.80
durationMethod · 0.80
evaluateMethod · 0.80
applyDepotRemovalMoveMethod · 0.80
ensureValidIndexMethod · 0.80
removeMethod · 0.80
updateMethod · 0.80
Route.cppFile · 0.80
evaluateMethod · 0.80

Calls 1

numDepotsMethod · 0.45

Tested by

no test coverage detected