#ifndef MAP_MATCHING_HPP #define MAP_MATCHING_HPP #include "engine/algorithm.hpp" #include "engine/datafacade.hpp" #include "engine/map_matching/sub_matching.hpp" #include "engine/search_engine_data.hpp" #include namespace osrm { namespace engine { namespace routing_algorithms { using CandidateList = std::vector; using CandidateLists = std::vector; using SubMatchingList = std::vector; static const constexpr double DEFAULT_GPS_PRECISION = 5; //[1] "Hidden Markov Map Matching Through Noise and Sparseness"; // P. Newson and J. Krumm; 2009; ACM GIS template SubMatchingList mapMatching(SearchEngineData &engine_working_data, const DataFacade &facade, const CandidateLists &candidates_list, const std::vector &trace_coordinates, const std::vector &trace_timestamps, const std::vector> &trace_gps_precision, const bool allow_splitting); } // namespace routing_algorithms } // namespace engine } // namespace osrm #endif /* MAP_MATCHING_HPP */