/srv/osrm/osrm-backend/include/guidance
NameSizeModeActions
constants.hpp12650644editdlrm
driveway_handler.hpp15400644editdlrm
files.hpp19960644editdlrm
guidance_processing.hpp21610644editdlrm
intersection.hpp49330644editdlrm
intersection_handler.hpp300750644editdlrm
is_through_street.hpp23920644editdlrm
motorway_handler.hpp22290644editdlrm
parsing_toolkit.hpp35710644editdlrm
roundabout_handler.hpp33740644editdlrm
roundabout_type.hpp5100644editdlrm
segregated_intersection_classification.hpp6770644editdlrm
serialization.hpp19660644editdlrm
sliproad_handler.hpp36830644editdlrm
statistics_handler.hpp42350644editdlrm
suppress_mode_handler.hpp17650644editdlrm
turn_analysis.hpp28380644editdlrm
turn_bearing.hpp7770644editdlrm
turn_classification.hpp5350644editdlrm
turn_data_container.hpp43260644editdlrm
turn_discovery.hpp15090644editdlrm
turn_handler.hpp41370644editdlrm
turn_instruction.hpp167370644editdlrm
turn_lane_augmentation.hpp5070644editdlrm
turn_lane_data.hpp14030644editdlrm
turn_lane_handler.hpp63210644editdlrm
turn_lane_matcher.hpp20470644editdlrm
Edit: /srv/osrm/osrm-backend/include/guidance/turn_lane_matcher.hpp (2047B)
#ifndef OSRM_GUIDANCE_TURN_LANE_MATCHER_HPP_ #define OSRM_GUIDANCE_TURN_LANE_MATCHER_HPP_ #include "guidance/intersection.hpp" #include "guidance/turn_instruction.hpp" #include "guidance/turn_lane_data.hpp" #include "util/attributes.hpp" #include "util/guidance/turn_lanes.hpp" #include "util/node_based_graph.hpp" namespace osrm::guidance::lanes { // Translate Turn Lane Tags into a matching modifier DirectionModifier::Enum getMatchingModifier(const extractor::TurnLaneType::Mask tag); // check whether a match of a given tag and a turn instruction can be seen as valid bool isValidMatch(const extractor::TurnLaneType::Mask tag, const TurnInstruction instruction); // localisation of the best possible match for a tag typename Intersection::const_iterator findBestMatch(const extractor::TurnLaneType::Mask tag, const Intersection &intersection); // the quality of a matching to decide between first/second possibility on segregated intersections double getMatchingQuality(const extractor::TurnLaneType::Mask tag, const ConnectedRoad &road); typename Intersection::const_iterator findBestMatchForReverse(const extractor::TurnLaneType::Mask leftmost_tag, const Intersection &intersection); // a match is trivial if all turns can be associated with their best match in a valid way and the // matches occur in order bool canMatchTrivially(const Intersection &intersection, const LaneDataVector &lane_data); // perform a trivial match on the turn lanes OSRM_ATTR_WARN_UNUSED Intersection triviallyMatchLanesToTurns(Intersection intersection, const LaneDataVector &lane_data, const util::NodeBasedDynamicGraph &node_based_graph, const LaneDescriptionID lane_string_id, util::guidance::LaneDataIdMap &lane_data_to_id); } // namespace osrm::guidance::lanes #endif /*OSRM_GUIDANCE_TURN_LANE_MATCHER_HPP_*/