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

Method vehicleType

pyvrp/cpp/search/Route.cpp:88–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88size_t Route::vehicleType() const
89{
90 auto const &vehicleTypes = data.vehicleTypes();
91 return std::distance(&vehicleTypes[0], &vehicleType_);
92}
93
94bool Route::overlapsWith(Route const &other, double tolerance) const
95{

Callers 11

SearchSpaceMethod · 0.45
applyEmptyRouteMovesMethod · 0.45
SolutionMethod · 0.45
loadMethod · 0.45
unloadMethod · 0.45
insertMethod · 0.45
evaluateMethod · 0.45
RouteMethod · 0.45
operator==Method · 0.45
evalDepotBeforeMethod · 0.45
evalDepotAfterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected