simplify passing annotation data through OSRM pipeline using the node-based datastore
- separates node-based graph creation and compression from edge-based graph creation - moves usage of edge-based node data-container to pre-processing as well, unifying access to node-based data - single struct instead of separate vectors for annotation data in engine (single place of modification)
This commit is contained in:
committed by
Michael Krasnyk
parent
9b044aaa42
commit
2ddd98ee6d
@@ -264,6 +264,9 @@ void CompressedEdgeContainer::InitializeBothwayVector()
|
||||
|
||||
unsigned CompressedEdgeContainer::ZipEdges(const EdgeID f_edge_id, const EdgeID r_edge_id)
|
||||
{
|
||||
if (!segment_data)
|
||||
InitializeBothwayVector();
|
||||
|
||||
const auto &forward_bucket = GetBucketReference(f_edge_id);
|
||||
const auto &reverse_bucket = GetBucketReference(r_edge_id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user