osrm-backend/unit_tests
Michael Bell b17cbb4c47
Support OSM traffic signal directions (#6153)
Currently OSRM parses traffic signal nodes without consideration
for the direction in which the signal applies. This can lead
to duplicated routing penalties, especially when a forward and backward
signal are in close proximity on a way.

This commit adds support for directed signals to the extraction and
graph creation. Signal penalties are only applied in the direction
specified by the OSM tag.

We add the assignment of traffic directions to the lua scripts,
maintaining backwards compatibility with the existing boolean
traffic states.

As part of the changes to the internal structures used for tracking
traffic signals during extraction, we stop serialising/deserialising
signals to the `.osrm` file. The traffic signals are only used by
`osrm-extract` so whilst this is a data format change, it will not
break any existing user processes.
2022-08-30 10:36:49 +01:00
..
common Enable more clang-tidy checks. (#6270) 2022-06-30 14:32:12 +01:00
contractor Migrate to modern TBB version (#6300) 2022-08-24 18:13:49 +02:00
customizer Fix osrm-contract, tests, on Windows 2020-11-15 14:22:26 +00:00
engine Support snapping to multiple ways at an input location (#5953) 2022-08-27 11:36:20 +01:00
extractor Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +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 Support snapping to multiple ways at an input location (#5953) 2022-08-27 11:36:20 +01:00
partitioner Migrate to modern TBB version (#6300) 2022-08-24 18:13:49 +02:00
server Support snapping to multiple ways at an input location (#5953) 2022-08-27 11:36:20 +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 Support snapping to multiple ways at an input location (#5953) 2022-08-27 11:36:20 +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