-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move guidance turn generation out of EBGF
- Loading branch information
Showing
7 changed files
with
509 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#ifndef OSRM_GUIDANCE_GUIDANCE_RUNNER_HPP | ||
#define OSRM_GUIDANCE_GUIDANCE_RUNNER_HPP | ||
|
||
#include "guidance/turn_data_container.hpp" | ||
|
||
#include "extractor/compressed_edge_container.hpp" | ||
#include "extractor/node_data_container.hpp" | ||
#include "extractor/suffix_table.hpp" | ||
#include "extractor/turn_lane_types.hpp" | ||
#include "extractor/way_restriction_map.hpp" | ||
|
||
#include "util/coordinate.hpp" | ||
#include "util/guidance/bearing_class.hpp" | ||
#include "util/guidance/entry_class.hpp" | ||
#include "util/guidance/turn_lanes.hpp" | ||
#include "util/name_table.hpp" | ||
#include "util/node_based_graph.hpp" | ||
|
||
#include <unordered_set> | ||
|
||
namespace osrm | ||
{ | ||
namespace guidance | ||
{ | ||
using BearingClassesVector = std::vector<BearingClassID>; | ||
using BearingClassesMap = util::ConcurrentIDMap<util::guidance::BearingClass, BearingClassID>; | ||
using EntryClassesMap = util::ConcurrentIDMap<util::guidance::EntryClass, EntryClassID>; | ||
|
||
void processGuidanceTurns(const util::NodeBasedDynamicGraph &node_based_graph, | ||
const extractor::EdgeBasedNodeDataContainer &edge_based_node_container, | ||
const std::vector<util::Coordinate> &node_coordinates, | ||
const extractor::CompressedEdgeContainer &compressed_edge_container, | ||
const std::unordered_set<NodeID> &barrier_nodes, | ||
const extractor::RestrictionMap &node_restriction_map, | ||
const extractor::WayRestrictionMap &way_restriction_map, | ||
const util::NameTable &name_table, | ||
const extractor::SuffixTable &suffix_table, | ||
const extractor::TurnLanesIndexedArray &turn_lanes_data, | ||
extractor::LaneDescriptionMap &lane_description_map, | ||
util::guidance::LaneDataIdMap &lane_data_map, | ||
guidance::TurnDataExternalContainer &turn_data_container, | ||
BearingClassesVector &bearing_class_by_node_based_node, | ||
BearingClassesMap &bearing_class_hash, | ||
EntryClassesMap &entry_class_hash); | ||
|
||
} // namespace customizer | ||
} // namespace osrm | ||
|
||
#endif |
Oops, something went wrong.