osrm-backend/include/partitioner
Michael Bell 5d468f2897
Make edge metrics strongly typed (#6421)
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-28 15:16:12 +01:00
..
bisection_graph_view.hpp Rename namespace partition to partitioner 2018-02-02 11:07:18 +01:00
bisection_graph.hpp Enable performance-move-const-arg clang-tidy check (#6319) 2022-08-23 19:03:41 +02:00
bisection_to_partition.hpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
cell_statistics.hpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
cell_storage.hpp Fix metric offset overflow for large MLD partitions (#6124) 2021-09-21 19:25:30 +01:00
dinic_max_flow.hpp Rename namespace partition to partitioner 2018-02-02 11:07:18 +01:00
edge_based_graph_reader.hpp Make edge metrics strongly typed (#6421) 2022-10-28 15:16:12 +01:00
edge_based_graph.hpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
files.hpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
inertial_flow.hpp Rename namespace partition to partitioner 2018-02-02 11:07:18 +01:00
multi_level_graph.hpp Fix a couple of warnings found by PVS Studio (#6372) 2022-09-22 23:28:12 +02:00
multi_level_partition.hpp Enable even more clang-tidy checks (#6273) 2022-07-04 21:46:59 +01:00
partition_graph.hpp Update CI to use clang-tidy 14 (#6353) 2022-08-31 23:39:47 +02:00
partitioner_config.hpp Do not generate intermediate .osrm file in osrm-extract. (#6354) 2022-09-30 14:29:10 +02:00
partitioner.hpp Rename namespace partition to partitioner 2018-02-02 11:07:18 +01:00
recursive_bisection_state.hpp Rename namespace partition to partitioner 2018-02-02 11:07:18 +01:00
recursive_bisection.hpp Rename namespace partition to partitioner 2018-02-02 11:07:18 +01:00
remove_unconnected.hpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
renumber.hpp Renumber node IDs in .osrm.maneuver_overrides 2018-02-22 11:42:33 +01:00
reorder_first_last.hpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
serialization.hpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
tarjan_graph_wrapper.hpp Rename namespace partition to partitioner 2018-02-02 11:07:18 +01:00