osrm-backend/include/extractor
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
..
guidance Improves lane handling for subsequent going straight, resolves #2625 2016-09-07 12:17:36 +02:00
compressed_edge_container.hpp Implement arbitrary turn penalty file IO and integration (#2306) 2016-04-29 00:48:13 -07:00
edge_based_edge.hpp Split import_edge.hpp: node_based_edge.hpp, edge_based_edge.hpp closes #1604 2016-01-11 20:11:44 +01:00
edge_based_graph_factory.hpp turn lane handler moved to scenario based handling 2016-09-07 12:16:59 +02:00
edge_based_node.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
external_memory_node.hpp Use mmap instead of read - it's a lot faster here. 2016-06-27 17:24:30 -07:00
extraction_containers.hpp turn lane handler moved to scenario based handling 2016-09-07 12:16:59 +02:00
extraction_helper_functions.hpp Apply clang-format again 2016-07-26 15:00:58 +02:00
extraction_node.hpp Run clang-format 2016-01-08 01:31:57 +01:00
extraction_way.hpp Apply clang-format again 2016-07-26 15:00:58 +02:00
extractor_callbacks.hpp turn lane handler moved to scenario based handling 2016-09-07 12:16:59 +02:00
extractor_config.hpp Switch profiles from Lua to library interface 2016-07-22 15:03:57 +02:00
extractor.hpp turn lane handler moved to scenario based handling 2016-09-07 12:16:59 +02:00
first_and_last_segment_of_way.hpp Run modernizer 2016-01-18 16:54:30 +01:00
graph_compressor.hpp Address PR comments 2016-04-05 22:58:32 +02:00
internal_extractor_edge.hpp Apply clang-format again 2016-07-26 15:00:58 +02:00
node_based_edge.hpp Apply clang-format again 2016-07-26 15:00:58 +02:00
original_edge_data.hpp Implement Turn Lane Api 2016-06-27 10:07:48 +02:00
profile_properties.hpp Initial left hand driving implementation 2016-07-28 22:59:22 +02:00
query_node.hpp Apply clang-format again 2016-07-26 15:00:58 +02:00
raster_source.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
restriction_map.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
restriction_parser.hpp Switch profiles from Lua to library interface 2016-07-22 15:03:57 +02:00
restriction.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
scripting_environment_lua.hpp Apply clang-format again 2016-07-26 15:00:58 +02:00
scripting_environment.hpp Switch profiles from Lua to library interface 2016-07-22 15:03:57 +02:00
suffix_table.hpp Switch profiles from Lua to library interface 2016-07-22 15:03:57 +02:00
tarjan_scc.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
travel_mode.hpp remove movable bridge travel mode references 2016-04-19 12:59:33 -04:00