From 757e7ca93624d7690594c198b9aaece1ace979e0 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Wed, 1 Mar 2017 20:29:04 +0000 Subject: [PATCH] First step towards mld integration --- include/engine/algorithm.hpp | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/include/engine/algorithm.hpp b/include/engine/algorithm.hpp index aa1083576..f731f35c7 100644 --- a/include/engine/algorithm.hpp +++ b/include/engine/algorithm.hpp @@ -18,10 +18,15 @@ struct CH final struct CoreCH final { }; +// Multi-Level Dijkstra +struct MLD final +{ +}; -template const char *name(); -template <> inline const char *name() { return "CH"; } -template <> inline const char *name() { return "CoreCH"; } +template const char* name(); +template<> inline const char* name() { return "CH"; } +template<> inline const char* name() { return "CoreCH"; } +template<> inline const char* name() { return "MLD"; } } namespace algorithm_trais @@ -84,6 +89,26 @@ template <> struct HasMapMatching final : std::true_type template <> struct HasGetTileTurns final : std::true_type { }; + +// disbaled because of perfomance reasons +template <> struct HasAlternativePathSearch final : std::false_type +{ +}; +template <> struct HasManyToManySearch final : std::false_type +{ +}; +template <> struct HasShortestPathSearch final : std::false_type +{ +}; +template <> struct HasDirectShortestPathSearch final : std::false_type +{ +}; +template <> struct HasMapMatching final : std::false_type +{ +}; +template <> struct HasGetTileTurns final : std::false_type +{ +}; } } }