osrm-backend/unit_tests
Michael Bell a98074a051
Improvements to maneuver override processing (#6215)
This change unblocks the osrm-extract debug build, which is
currently failing on a maneuver override assertion.

The processing of maneuver overrides currently has three issues
- It assumes the via node(s) can't be compressed (the failing assertion)
- It can't handle via-paths containing incompressible nodes
- It doesn't interop with turn restriction on the same path

Turn restrictions and maneuver overrides both use the same
from-via-to path representation.
Therefore, we can fix these issues by consolidating their
structures and reusing the path representation for
turn restrictions, which already is robust to the above
issues.

This also simplifies some of the codebase by removing maneuver
override specific path processing.

There are ~100 maneuver overrides in the OSM database, so the
impact on processing and routing will be minimal.
2022-08-24 16:19:24 +01:00
..
common Enable more clang-tidy checks. (#6270) 2022-06-30 14:32:12 +01:00
contractor Enable performance-move-const-arg clang-tidy check (#6319) 2022-08-23 19:03:41 +02:00
customizer Fix osrm-contract, tests, on Windows 2020-11-15 14:22:26 +00:00
engine Lazily generate optional route path data (#6045) 2022-08-22 12:59:20 +01:00
extractor Improvements to maneuver override processing (#6215) 2022-08-24 16:19:24 +01:00
fixtures Implement raster source feature to read data from third-party sources, to be used in lua profiles. 2015-09-03 22:28:18 -07:00
library Add support for non-round-trips with a single fixed endpoint (#6050) 2022-08-22 12:56:47 +01:00
mocks Add support for multiple via-way restrictions (#5907) 2020-12-20 13:59:57 -08:00
partitioner Migrate to C++17. Update sol2 to 3.3.0. (#6279) 2022-07-31 00:56:17 +01:00
server Enable more clang-tidy checks. (#6270) 2022-06-30 14:32:12 +01:00
storage Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
updater Enable all unit tests (#5248) 2021-10-22 22:10:25 +01:00
util Fix distance calculation consistency. (#6315) 2022-08-19 22:31:40 +01:00
CMakeLists.txt Make osrm-routed optional (#6144) 2021-10-08 17:06:55 +01:00
contractor_tests.cpp Implement exclude flags on CH using shared core 2017-09-01 21:26:00 +02:00
customizer_tests.cpp Move customizer tests to own unit 2017-03-13 23:04:45 +00:00
engine_tests.cpp Remove license headers from project source files; global license 2016-01-04 19:06:32 +01:00
extractor_tests.cpp Remove license headers from project source files; global license 2016-01-04 19:06:32 +01:00
library_tests.cpp Library tests build system integration 2016-04-05 22:58:32 +02:00
partitioner_tests.cpp Rename namespace partition to partitioner 2018-02-02 11:07:18 +01:00
server_tests.cpp Add viaroute suport for new API 2016-04-05 22:58:32 +02:00
storage_tests.cpp First step towards reading/writing tar 2018-03-26 11:02:03 +00:00
updater_tests.cpp Refactor isThroughStreet/Intersection options (#4751) 2018-01-19 13:49:00 -05:00
util_tests.cpp Remove license headers from project source files; global license 2016-01-04 19:06:32 +01:00