Page 1 of 1

What are potential values for the REROUTEATTRACTIONFACTOR?

Posted: Wed Jul 21, 2021 1:12 pm
by Bernd Welter
A customer of mine spotted the REROUTEATTRACTIONFACTOR in a BCR file. Looks liek we missed to document that switch in the API docs. But here's the comment live from the source code:
values [0,100] in percent of cost per segment of the original route to influence the attraction to this route.
So 0 is very attractive, while 100 restores the regular behaviour without attraction
You can compare the meaning of this parameter with the xRoute1 ExceptionPath:
First we compute a base route.
Then we use the base route as exception path for the continuous re-routings considering the REROUTEATTRACTIONFACTOR.

Update 26.7.2021:
With the SDK you can set the native value of the attraction parameter as mentioned above.
But: in the Navigator application's BCR file itself you can only set some meta values:
  • -1 : do not consider
  • 0 : strong
  • 1 : normal
  • 2 : weak
which whill be matched to STRONG=0 , NORMAL=30, WEAK=70