Imported Upstream version 1.5
[routino] / doc / html / algorithm.html
index cec599f..3890b77 100644 (file)
@@ -174,12 +174,15 @@ minimising the length.
   <dt>Highway properties
   <dd>The other highway properties are specified by the user as a percentage and
   each highway either has that property or not.  The user's property preference
-  is scaled into the range 0.0 (for 0%) to 2.0 (for 100%) to give a weighted
+  is scaled into the range 0.0 (for 0%) to 1.0 (for 100%) to give a weighted
   preference, a second "non-property" weighted preference is calcuated in the
   same way after subtracting the user's preference from 100%.  If a segment has
-  this property then the calculated score is divided by the weighted preference,
-  if the segment does not have this property then it is divided by the
-  non-property weighted preference.
+  a particular property then the calculated score is divided by the weighted
+  preference for that property, if the segment does not have this property then
+  it is divided by the non-property weighted preference.  To ensure that setting
+  property preferences near 50% do not cause large variations in routes the
+  highway's preference is found by taking the square root of the property
+  preference.
 </dl>
 
 <h3><a name="H_1_1_5"></a>Implementation</h3>