osrm-backend/include/engine
Michael Bell ffc39b8ad2
Clarify use of forcing routing steps (#6866)
The change clarifies the conditions for forcing routing steps and
simplifies the codebase to support it.

- Makes explicity  the search runtime condition for forcing a routing
step. Namely, the node is a source of the forward and reverse searches,
and it's one of the pre-identified nodes that requires a step to
be forced.
- Consolidate the two lists of force nodes into one. Not only is there
no algorithmic value in separating the nodes by geometric direction,
the  improvements to via-routes with u-turns mean atleast one of these
lists will be empty for any search.
- Rename 'force loop' to 'force step'. This moves the code away
from the original CH-specific language for checking for self-loops
in the case where this condition is met. MLD does not have loops.

Additional cucumber tests are added to cover the logic related to
negative search weights and forcing routing steps on via-route
paths.
2024-05-10 22:00:24 +01:00
..
api Upgrade clang-format to version 15 (#6859) 2024-05-06 09:14:46 +02:00
datafacade Upgrade clang-format to version 15 (#6859) 2024-05-06 09:14:46 +02:00
guidance Upgrade clang-format to version 15 (#6859) 2024-05-06 09:14:46 +02:00
map_matching Fix formatting 2022-12-20 18:00:11 +01:00
plugins Upgrade clang-format to version 15 (#6859) 2024-05-06 09:14:46 +02:00
routing_algorithms Clarify use of forcing routing steps (#6866) 2024-05-10 22:00:24 +01:00
trip Fix formatting 2022-12-20 18:00:11 +01:00
algorithm.hpp Fix formatting 2022-12-20 18:00:11 +01:00
approach.hpp Add support for opposite approach request parameter (#6842) 2024-04-03 19:59:15 +01:00
base64.hpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
bearing.hpp Fix formatting 2022-12-20 18:00:11 +01:00
data_watchdog.hpp Fix formatting 2022-12-20 18:00:11 +01:00
datafacade_factory.hpp Fix formatting 2022-12-20 18:00:11 +01:00
datafacade_provider.hpp Fix formatting 2022-12-20 18:00:11 +01:00
datafacade.hpp Fix formatting 2022-12-20 18:00:11 +01:00
douglas_peucker.hpp Fix formatting 2022-12-20 18:00:11 +01:00
engine_config.hpp Add support for disabling feature datasets (#6666) 2023-08-04 18:43:37 +01:00
engine.hpp Add support for a default_bearing_radius flag (#6575) 2023-03-24 16:49:33 +01:00
geospatial_query.hpp Upgrade clang-format to version 15 (#6859) 2024-05-06 09:14:46 +02:00
hint.hpp Fix formatting 2022-12-20 18:00:11 +01:00
internal_route_result.hpp Fix formatting 2022-12-20 18:00:11 +01:00
phantom_node.hpp Upgrade clang-format to version 15 (#6859) 2024-05-06 09:14:46 +02:00
polyline_compressor.hpp Upgrade clang-format to version 15 (#6859) 2024-05-06 09:14:46 +02:00
routing_algorithms.hpp Fix formatting 2022-12-20 18:00:11 +01:00
search_engine_data.hpp Fix formatting 2022-12-20 18:00:11 +01:00
status.hpp Fix formatting 2022-12-20 18:00:11 +01:00