Skip to content

Commit

Permalink
Merge branch 'feature-#377-alternative-routes' of https://github.com/…
Browse files Browse the repository at this point in the history
…GIScience/openrouteservice into feature-#377-alternative-routes
  • Loading branch information
takb committed Jan 28, 2019
2 parents b7ba963 + c1ecee3 commit 61cf06a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public class RouteSearchParameters {
private int[] _avoidCountries = null;
private BordersExtractor.Avoid _avoidBorders = BordersExtractor.Avoid.NONE;

// TAKB: parameters weight factor and share factor seem to be ignored by the algorithm, further testing required.
private int _alternativeRoutes = -1;
private double _alternativeRoutesWeightFactor = 1.4;
private double _alternativeRoutesShareFactor = 0.6;
Expand Down

0 comments on commit 61cf06a

Please sign in to comment.