osrm-backend/include/updater/updater.hpp
2017-03-10 14:43:02 +00:00

30 lines
506 B
C++

#ifndef OSRM_UPDATER_UPDATER_HPP
#define OSRM_UPDATER_UPDATER_HPP
#include "updater/updater_config.hpp"
#include "extractor/edge_based_edge.hpp"
#include <vector>
namespace osrm
{
namespace updater
{
class Updater
{
public:
Updater(const UpdaterConfig &config) :config(config) {}
EdgeID LoadAndUpdateEdgeExpandedGraph(
std::vector<extractor::EdgeBasedEdge> &edge_based_edge_list,
std::vector<EdgeWeight> &node_weights) const;
private:
UpdaterConfig config;
};
}
}
#endif