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

Method numVehicleTypes

pyvrp/cpp/ProblemData.cpp:557–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555size_t ProblemData::numLocations() const { return numDepots() + numClients(); }
556
557size_t ProblemData::numVehicleTypes() const { return vehicleTypes_.size(); }
558
559size_t ProblemData::numVehicles() const { return numVehicles_; }
560

Callers 5

SolutionMethod · 0.80
SearchSpaceMethod · 0.80
SolutionMethod · 0.80
loadMethod · 0.80
supports<SwapRoutes>Method · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected