23 lines
583 B
C++
23 lines
583 B
C++
#ifndef OSMR_CONTRACTOR_CONTRACTED_METRIC_HPP
|
|
#define OSMR_CONTRACTOR_CONTRACTED_METRIC_HPP
|
|
|
|
#include "contractor/query_graph.hpp"
|
|
|
|
namespace osrm::contractor
|
|
{
|
|
|
|
namespace detail
|
|
{
|
|
template <storage::Ownership Ownership> struct ContractedMetric
|
|
{
|
|
detail::QueryGraph<Ownership> graph;
|
|
std::vector<util::ViewOrVector<bool, Ownership>> edge_filter;
|
|
};
|
|
} // namespace detail
|
|
|
|
using ContractedMetric = detail::ContractedMetric<storage::Ownership::Container>;
|
|
using ContractedMetricView = detail::ContractedMetric<storage::Ownership::View>;
|
|
} // namespace osrm::contractor
|
|
|
|
#endif
|