Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyVRP/PyVRP
/ num_clients
Method
num_clients
pyvrp/read.py:176–177 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
174
175
@property
176
def
num_clients(self) -> int:
177
return
self.num_locations - self.num_depots
178
179
@property
180
def
num_vehicles(self) -> int:
Callers
15
summary
Method · 0.80
test_summary_contains_essential_information
Function · 0.80
test_random_constructor_randomly_selects_optional_clients
Function · 0.80
test_tsp_instance_with_mutually_exclusive_groups
Function · 0.80
test_perturb_inserts_clients
Function · 0.80
test_perturb_removes_clients
Function · 0.80
test_relocate_after_depot_should_work
Function · 0.80
test_evaluate_capacity_differences
Function · 0.80
test_prize_collecting
Function · 0.80
test_local_search_does_not_remove_required_clients
Function · 0.80
test_local_search_inserts_into_empty_solutions
Function · 0.80
test_route_append_increases_route_len
Function · 0.80
Calls
no outgoing calls
Tested by
15
test_summary_contains_essential_information
Function · 0.64
test_random_constructor_randomly_selects_optional_clients
Function · 0.64
test_tsp_instance_with_mutually_exclusive_groups
Function · 0.64
test_perturb_inserts_clients
Function · 0.64
test_perturb_removes_clients
Function · 0.64
test_relocate_after_depot_should_work
Function · 0.64
test_evaluate_capacity_differences
Function · 0.64
test_prize_collecting
Function · 0.64
test_local_search_does_not_remove_required_clients
Function · 0.64
test_local_search_inserts_into_empty_solutions
Function · 0.64
test_route_append_increases_route_len
Function · 0.64
test_route_insert
Function · 0.64