osrm-backend/unit_tests/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.cpp
bisection_graph.cpp
bisection_to_partition.cpp
cell_storage.cpp
dinic.cpp
graph_generator.hpp
multi_level_graph.cpp
multi_level_partition.cpp
recursive_bisection.cpp
remove_unconnected.cpp
renumber.cpp
reorder_first_last.cpp
scc_integration.cpp