Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyVRP/PyVRP
/ num_depots
Method
num_depots
pyvrp/read.py:172–173 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
170
171
@property
172
def
num_depots(self) -> int:
173
return
self.instance.get(
"depot"
, np.array([0])).size
174
175
@property
176
def
num_clients(self) -> int:
Callers
3
test_inserts_depot_single_route
Function · 0.80
test_route_insert
Function · 0.80
test_route_remove_reload_depot
Function · 0.80
Calls
1
get
Method · 0.80
Tested by
3
test_inserts_depot_single_route
Function · 0.64
test_route_insert
Function · 0.64
test_route_remove_reload_depot
Function · 0.64