How to not allow alternative paths to be calculated?

Hi… I am experimenting some speed changing for the edges in shortest path (/fastest path) but the speed does not changes, probably because Graphhopper calculates all other alternative paths and the speed go back to the original speed as it does that (as I understood)…
when I use "calcPaths (GHRequest, GHResponse), it gives me all the routes available including the shortest one and other alternative routes.
Is there any way to allow only the shortest path and not the alternatives?


Powered by Discourse