Skip to content

Conversation

@mjjbell
Copy link
Member

@mjjbell mjjbell commented May 5, 2024

Issue

This is a fix for observation 1 discussed in #6852

Each leg of a via-route supporting waypoint u-turns does not need to consider force-loops.
Negative weight checks are sufficient to prevent incorrect results when waypoints are on the same edge.

I've not added additional tests, as the change is sufficiently simple, and there are enough existing continue_straight=false cucumber tests to verify it works.
I will add additional tests for the more complicated fixes.

Tasklist

Requirements / Relations

#6852

Each leg of a via-route supporting u-turns does not need to consider
force-loops. Negative weight checks are sufficient to prevent
incorrect results when waypoints are on the same edge.
@mjjbell mjjbell merged commit b503e96 into Project-OSRM:master May 5, 2024
eliseier pushed a commit to wanderlog/osrm-backend that referenced this pull request Mar 25, 2025
Each leg of a via-route supporting u-turns does not need to consider
force-loops. Negative weight checks are sufficient to prevent
incorrect results when waypoints are on the same edge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants