osrm-backend/include/contractor/query_graph.hpp

23 lines
569 B
C++
Raw Permalink Normal View History

#ifndef OSRM_CONTRACTOR_QUERY_GRAPH_HPP
#define OSRM_CONTRACTOR_QUERY_GRAPH_HPP
#include "contractor/query_edge.hpp"
#include "util/static_graph.hpp"
2017-04-04 19:01:00 -04:00
#include "util/typedefs.hpp"
namespace osrm::contractor
{
namespace detail
{
2017-04-04 19:01:00 -04:00
template <storage::Ownership Ownership>
using QueryGraph = util::StaticGraph<typename QueryEdge::EdgeData, Ownership>;
} // namespace detail
using QueryGraph = detail::QueryGraph<storage::Ownership::Container>;
using QueryGraphView = detail::QueryGraph<storage::Ownership::View>;
2022-12-20 12:00:11 -05:00
} // namespace osrm::contractor
#endif // QUERYEDGE_HPP