2017-03-15 10:30:12 -04:00
|
|
|
#ifndef OSRM_EXTRACTOR_NBG_TO_EBG_HPP
|
|
|
|
#define OSRM_EXTRACTOR_NBG_TO_EBG_HPP
|
|
|
|
|
|
|
|
#include "util/typedefs.hpp"
|
|
|
|
|
2022-12-11 04:10:26 -05:00
|
|
|
namespace osrm::extractor
|
2017-03-15 10:30:12 -04:00
|
|
|
{
|
|
|
|
|
|
|
|
// Mapping betweenn the node based graph u,v nodes and the edge based graph head,tail edge ids.
|
|
|
|
// Required in the osrm-partition tool to translate from a nbg partition to a ebg partition.
|
|
|
|
struct NBGToEBG
|
|
|
|
{
|
|
|
|
NodeID u, v;
|
|
|
|
NodeID forward_ebg_node, backward_ebg_node;
|
|
|
|
};
|
2022-12-20 12:00:11 -05:00
|
|
|
} // namespace osrm::extractor
|
2017-03-15 10:30:12 -04:00
|
|
|
|
|
|
|
#endif
|