You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question while checking the role of the variable "gapPenalty" in the "mapTrace" function.
in "tools/sumolib/route.py"
When I look at line 137 in route.py, "gapPenalty" works only once for the first time, and after that, it does not seem to work because it is greater than 0.
Is "gapPenalty" valid only once for the first time?
**SUMO-version: 1.14.1
The text was updated successfully, but these errors were encountered:
It looks like the code is meant to be used with a constant gapPenalty value and the default of -1 causes this constant to be initialized. It does look somewhat strange since advance may vary over the course of all data points so the initialization is somewhat unpredictable.
I have a question while checking the role of the variable "gapPenalty" in the "mapTrace" function.
in "tools/sumolib/route.py"
When I look at line 137 in route.py, "gapPenalty" works only once for the first time, and after that, it does not seem to work because it is greater than 0.
Is "gapPenalty" valid only once for the first time?
**SUMO-version: 1.14.1
The text was updated successfully, but these errors were encountered: