View source: R/extendr-wrappers.R
| rust_frlm_greedy | R Documentation |
Solve FRLM using greedy heuristic
rust_frlm_greedy(
n_candidates,
path_candidates,
path_offsets,
path_distances,
flow_volumes,
vehicle_range,
n_facilities
)
n_candidates |
Number of candidate facility locations |
path_candidates |
Flat array of candidate indices for each path |
path_offsets |
Start index for each path in path_candidates |
path_distances |
Distances to each candidate along paths |
flow_volumes |
Volume of each flow |
vehicle_range |
Maximum vehicle range |
n_facilities |
Number of facilities to place |
List with selected facilities and coverage info
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.