- 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)
22 lines
368 B
C++
22 lines
368 B
C++
#ifndef OSRM_EXTRACTOR_EDGE_BASED_NODE_HPP_
|
|
#define OSRM_EXTRACTOR_EDGE_BASED_NODE_HPP_
|
|
|
|
#include "util/typedefs.hpp"
|
|
|
|
namespace osrm
|
|
{
|
|
namespace extractor
|
|
{
|
|
|
|
struct EdgeBasedNode
|
|
{
|
|
GeometryID geometry_id;
|
|
ComponentID component_id;
|
|
AnnotationID annotation_id;
|
|
};
|
|
|
|
} // namespace extractor
|
|
} // namespace osrm
|
|
|
|
#endif // OSRM_EXTRACTOR_EDGE_BASED_NODE_HPP_
|