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"
|
|
|
|
|
|
|
|
namespace osrm
|
|
|
|
{
|
|
|
|
namespace extractor
|
|
|
|
{
|
|
|
|
|
|
|
|
// 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;
|
|
|
|
};
|
2020-11-26 10:21:39 -05:00
|
|
|
} // namespace extractor
|
|
|
|
} // namespace osrm
|
2017-03-15 10:30:12 -04:00
|
|
|
|
|
|
|
#endif
|