-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
method calc_path_multiple_sources_and_targets not found in PathCalculator
#41
Comments
What exactly are you trying to do? |
Calculating paths between multiple sources and targets the above code is copied from the homepage. |
Ok, I see. You are probably using the |
I just released version 1.0.0 on crates.io, please let me know if this is working so we can close here. |
it works now. thanks |
I test the following , it raise error: let shortest_path = path_calculator.calc_path_multiple_sources_and_targets(&fast_graph, sources, targets); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in
PathCalculator
// ... see above
// we want to either start at node 2 or 3 both of which carry a different initial weight
let sources = vec![(3, 5), (2, 7)];
// ... and go to either node 6 or 8 which also both carry a cost upon arrival
let targets = vec![(6, 2), (8, 10)];
// calculate the path with minimum cost that connects any of the sources with any of the targets while taking into
// account the initial weights of each source and node
let shortest_path = path_calculator.calc_path_multiple_sources_and_targets(&fast_graph, sources, targets);
The text was updated successfully, but these errors were encountered: