osrm-backend/include/contractor/query_graph.hpp

26 lines
574 B
C++
Raw 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
{
namespace contractor
{
namespace detail
{
2017-04-04 19:01:00 -04:00
template <storage::Ownership Ownership>
using QueryGraph = util::StaticGraph<typename QueryEdge::EdgeData, Ownership>;
}
using QueryGraph = detail::QueryGraph<storage::Ownership::Container>;
using QueryGraphView = detail::QueryGraph<storage::Ownership::View>;
} // namespace contractor
} // namespace osrm
#endif // QUERYEDGE_HPP