[traffic] Update comment on offroad penalty

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-10-26 13:15:07 +02:00
parent 3ec32e4415
commit d88ed01bc1

View File

@@ -74,10 +74,10 @@ auto constexpr kOneMpSInKmpH = 3.6;
* once the full attribute penalty). * once the full attribute penalty).
* A “wrong” road may also just have a penalty of 4 (e.g. road name mismatch, but road class and * A “wrong” road may also just have a penalty of 4 (e.g. road name mismatch, but road class and
* ramp type match). * ramp type match).
* A value of 16 has worked well for the DE-B2R-SendlingSued-Passauerstrasse test case. The * A value of 16 has worked well for the DE-B2R-SendlingSued-Passauerstrasse test case. (The
* DE-A10-Werder-GrossKreutz or DE-A115-PotsdamDrewitz-Nuthetal test cases still resolve incorrectly * DE-A10-Werder-GrossKreutz or DE-A115-PotsdamDrewitz-Nuthetal test cases gave incorrect results
* with an offroad penalty of 8 and even 2, presumably because the correct endpoints are not * due to lack of fake segments, which was fixed through truncation and now works correctly even
* connected by fake segments. * with an offroad penalty of 128.)
*/ */
auto constexpr kOffroadPenalty = 16; auto constexpr kOffroadPenalty = 16;