osrm-backend/include/engine/routing_algorithms/many_to_many.hpp

43 lines
1.3 KiB
C++
Raw Normal View History

#ifndef MANY_TO_MANY_ROUTING_HPP
#define MANY_TO_MANY_ROUTING_HPP
#include "engine/algorithm.hpp"
#include "engine/datafacade.hpp"
2016-01-02 11:13:44 -05:00
#include "engine/search_engine_data.hpp"
#include "util/typedefs.hpp"
#include <vector>
2016-01-05 10:51:13 -05:00
namespace osrm
{
namespace engine
{
namespace routing_algorithms
{
template <typename Algorithm>
2017-09-20 14:17:04 -04:00
std::vector<EdgeDuration> manyToManySearch(SearchEngineData<Algorithm> &engine_working_data,
const DataFacade<Algorithm> &facade,
const std::vector<PhantomNode> &phantom_nodes,
std::vector<std::size_t> source_indices,
std::vector<std::size_t> target_indices);
namespace mld
{
template <bool DIRECTION>
std::vector<EdgeDuration> oneToManySearch(SearchEngineData<Algorithm> &engine_working_data,
const DataFacade<Algorithm> &facade,
const std::vector<PhantomNode> &phantom_nodes,
std::size_t phantom_index,
std::vector<std::size_t> phantom_indices);
} // mld
2017-06-27 10:56:43 -04:00
} // namespace routing_algorithms
} // namespace engine
} // namespace osrm
2016-01-05 10:51:13 -05:00
#endif