Hi Peter,
as measure.

yes, there is algo.setWeightLimit (where you can e.g. use
weighting.getMinWeight(distance)) and we'll probably add or change this
to a more controllable feature like visited nodes very soon.
Just a clarification. Suppose I have a source and destination point that are geographically distant D. My weighting function is something in the range [0,1] not related to distance. For having a path that minimizes w and is not longer than, for example, than 2*D (I mean globally) should I use algo.setWeightLimit?

In the positive, how can I set this limit for each GHRequest?

Thanks!
Rossano



_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper



_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper

Reply via email to