Skip to content

Commit

Permalink
Update documentation comment
Browse files Browse the repository at this point in the history
  • Loading branch information
reinterpretcat committed Oct 31, 2023
1 parent 4a75a62 commit d8c3a77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vrp-pragmatic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ use time::OffsetDateTime;
use vrp_core::prelude::GenericError;

/// Get lists of unique locations in the problem. Use it to request routing matrix from outside.
/// NOTE: it includes all locations of all types, so you might need to filter it if types are mixed.
pub fn get_unique_locations(problem: &Problem) -> Vec<Location> {
CoordIndex::new(problem).unique()
}
Expand Down

0 comments on commit d8c3a77

Please sign in to comment.