/srv/osrm/osrm-backend/include/customizer
Edit: /srv/osrm/osrm-backend/include/customizer/cell_metric.hpp (797B)
#ifndef OSRM_CUSTOMIZER_CELL_METRIC_HPP
#define OSRM_CUSTOMIZER_CELL_METRIC_HPP
#include "storage/io_fwd.hpp"
#include "storage/shared_memory_ownership.hpp"
#include "util/typedefs.hpp"
#include "util/vector_view.hpp"
namespace osrm::customizer
{
namespace detail
{
// Encapsulated one metric to make it easily replacable in CelLStorage
template
struct CellMetricImpl
{
template using Vector = util::ViewOrVector;
Vector weights;
Vector durations;
Vector distances;
};
} // namespace detail
using CellMetric = detail::CellMetricImpl;
using CellMetricView = detail::CellMetricImpl;
} // namespace osrm::customizer
#endif