44 lines
1.2 KiB
C++
44 lines
1.2 KiB
C++
#ifndef MANY_TO_MANY_ROUTING_HPP
|
|
#define MANY_TO_MANY_ROUTING_HPP
|
|
|
|
#include "engine/algorithm.hpp"
|
|
#include "engine/datafacade/contiguous_internalmem_datafacade.hpp"
|
|
#include "engine/search_engine_data.hpp"
|
|
|
|
#include "util/typedefs.hpp"
|
|
|
|
#include <vector>
|
|
|
|
namespace osrm
|
|
{
|
|
namespace engine
|
|
{
|
|
|
|
namespace routing_algorithms
|
|
{
|
|
|
|
template <typename AlgorithmT>
|
|
std::vector<EdgeWeight>
|
|
manyToManySearch(SearchEngineData &,
|
|
const datafacade::ContiguousInternalMemoryDataFacade<AlgorithmT> &,
|
|
const std::vector<PhantomNode> &,
|
|
const std::vector<std::size_t> &,
|
|
const std::vector<std::size_t> &)
|
|
{
|
|
throw util::exception(std::string("manyToManySearch is not implemented for ") +
|
|
typeid(AlgorithmT).name());
|
|
}
|
|
|
|
std::vector<EdgeWeight>
|
|
manyToManySearch(SearchEngineData &engine_working_data,
|
|
const datafacade::ContiguousInternalMemoryDataFacade<algorithm::CH> &facade,
|
|
const std::vector<PhantomNode> &phantom_nodes,
|
|
const std::vector<std::size_t> &source_indices,
|
|
const std::vector<std::size_t> &target_indices);
|
|
|
|
} // namespace routing_algorithms
|
|
} // namespace engine
|
|
} // namespace osrm
|
|
|
|
#endif
|