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
When using LM with fixed source/target edges the shortest route calculation sometimes does not yield the correct result, which is why LM is disabled in DirectedRoutingTest. With #1745 and 7f5f7b5 (which applies the fix for #1960 also in the test) it looks like this was improved and now the tests are green, but only if we return ANY_EDGE in getSourceOutEdge()/getTargetInEdge() (i.e. do not restrict the source/target edge). Otherwise the tests still fail.
I think this is because when a virtual destination node cannot be reached via its closest tower node, but only via a specific one (enforced by the curbside-aware algorithm, but not modelled in the QueryGraph), this needs to be passed all the way down to LMApproximator.findClosestRealNode. So that it doesn't find and use the closest real node in that case, but uses the specific one.
Activity
michaz commentedon Jun 22, 2020
I think this is because when a virtual destination node cannot be reached via its closest tower node, but only via a specific one (enforced by the curbside-aware algorithm, but not modelled in the QueryGraph), this needs to be passed all the way down to LMApproximator.findClosestRealNode. So that it doesn't find and use the closest real node in that case, but uses the specific one.
easbar commentedon May 16, 2022
I think we should actually fix this, especially because(/as long as) LM with source/target edges is used for map matching.
Presumably fixes #1971
Presumably fixes #1971
Presumably fixes #1971