osrm-backend/include/engine/guidance
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
..
assemble_geometry.hpp Make edge metrics strongly typed 2022-10-25 21:18:34 +01:00
assemble_leg.hpp Make edge metrics strongly typed 2022-10-25 21:18:34 +01:00
assemble_overview.hpp First round of lat,lng -> lng,lat switcheroo 2016-04-05 22:58:32 +02:00
assemble_route.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
assemble_steps.hpp Make edge metrics strongly typed 2022-10-25 21:18:34 +01:00
collapse_scenario_detection.hpp access way names through RouteStep in post processing 2017-12-11 15:37:56 +00:00
collapse_turns.hpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
collapsing_utility.hpp Added post process logic to collapse segregated turn instructions (#4925) 2018-03-30 07:43:56 -04:00
lane_processing.hpp Trigger lane anticipation based on distance, see discussion in #4260 2017-07-18 11:23:46 +02:00
leg_geometry.hpp Lazily generate optional route path data (#6045) 2022-08-22 12:59:20 +01:00
post_processing.hpp Support maneuver relations (#4676) 2018-02-10 05:32:09 +11:00
postprocessing_toolkit.hpp Move guidance pre-processing code into GUIDANCE library 2018-02-02 11:33:38 -05:00
route_leg.hpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
route_step.hpp Support maneuver relations (#4676) 2018-02-10 05:32:09 +11:00
route.hpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
step_maneuver.hpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
verbosity_reduction.hpp deprecate use-lane -- the information can be found in the intersections array 2017-07-18 11:23:46 +02:00