osrm-backend/src
Michael Bell 19fef70d6f Make edge metrics strongly typed
This change takes the existing typedefs for weight, duration and
distance, and makes them proper types, using the existing Alias
functionality.

Primarily this is to prevent bugs where the metrics are switched,
but it also adds additional documentation. For example, it now
makes it clear (despite the naming of variables) that most of the
trip algorithm is running on the duration metric.

I've not made any changes to the casts performed between metrics
and numeric types, they now just more explicit.
2022-10-25 21:18:34 +01:00
..
benchmarks Improve performance of JSON rendering (#6380) 2022-10-03 21:43:51 +02:00
contractor Make edge metrics strongly typed 2022-10-25 21:18:34 +01:00
customize Make edge metrics strongly typed 2022-10-25 21:18:34 +01:00
engine Make edge metrics strongly typed 2022-10-25 21:18:34 +01:00
extractor Make edge metrics strongly typed 2022-10-25 21:18:34 +01:00
guidance Gracefully handle no-turn intersections in guidance processing. (#6382) 2022-10-01 14:35:08 +01:00
nodejs Get rid of Mason (#6387) 2022-10-06 14:13:12 +02:00
osrm Add missing files in exception message (#5360) 2022-08-22 08:32:25 +02:00
partitioner Update CI to use clang-tidy 14 (#6353) 2022-08-31 23:39:47 +02:00
server Revert back to using custom HTTP parser instead of Boost.Beast (#6407) 2022-10-14 14:37:33 +02:00
storage Remove redundant nullptr check. (#6326) 2022-08-25 00:01:56 +02:00
tools Do not generate intermediate .osrm file in osrm-extract. (#6354) 2022-09-30 14:29:10 +02:00
updater Make edge metrics strongly typed 2022-10-25 21:18:34 +01:00
util Add timestamps for logs (#6375) 2022-09-30 14:28:52 +02:00