osrm-backend/include/engine
Daniel J. Hofmann 86fd04e556 Improves lane handling for subsequent going straight, resolves #2625
Before we only worked on subsequent quick turns, as in:
`right, right` keeps the user on the rightmost lanes.

This changeset modifies the logic to work on any subsequent steps
that are "quick" and have lane information we can constrain later.

Because we do not have a from-lane => to-lanes mapping we take the
lanes left and right of the turn lanes into account when heuristically
assigning the leftmost / rightmost lanes.

There are some edge cases where this still does not give us the optimal
solution but it gets close to what is actually possible at the moment
without having a lane mapping in post-processing.

References:
- https://github.com/Project-OSRM/osrm-backend/issues/2625

fix rebase
2016-09-07 12:17:36 +02:00
..
api Clang format. 2016-07-30 23:53:38 +02:00
datafacade Always overwrite m_is_core_node on data swap 2016-08-30 17:31:08 +02:00
guidance Improves lane handling for subsequent going straight, resolves #2625 2016-09-07 12:17:36 +02:00
map_matching Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
plugins Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
routing_algorithms Set parent nodes of core entry nodes not to themselves 2016-08-30 17:31:08 +02:00
trip Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
base64.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
bearing.hpp Adds the license preamble for all publicly installed eaders, closes #2036 2016-04-05 22:58:32 +02:00
douglas_peucker.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
engine_config.hpp Initial libosrm API docs 2016-04-05 22:59:14 +02:00
engine.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
geospatial_query.hpp Clang format. 2016-07-30 23:53:38 +02:00
hint.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
internal_route_result.hpp Include datasources for each segment in route annotation. 2016-07-27 15:51:11 -07:00
phantom_node.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
polyline_compressor.hpp advanced guidance on 5.0 2016-04-05 22:58:32 +02:00
search_engine_data.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
status.hpp Initial libosrm API docs 2016-04-05 22:59:14 +02:00