From 3fc0fc65f98d533b861f166e2d19aa1ce727e159 Mon Sep 17 00:00:00 2001 From: Michael Krasnyk Date: Fri, 31 Mar 2017 15:19:21 +0200 Subject: [PATCH] don't disable algorithms explicitly --- include/engine/algorithm.hpp | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/include/engine/algorithm.hpp b/include/engine/algorithm.hpp index 3cc0fce7d..ee6d0e22e 100644 --- a/include/engine/algorithm.hpp +++ b/include/engine/algorithm.hpp @@ -78,6 +78,7 @@ template <> struct HasGetTileTurns final : std::true_type }; // Algorithms supported by Contraction Hierarchies with core +// the rest is disabled because of performance reasons template <> struct HasShortestPathSearch final : std::true_type { }; @@ -90,33 +91,11 @@ 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 -{ -}; // Algorithms supported by Multi-Level Dijkstra template <> struct HasDirectShortestPathSearch final : std::true_type { }; -template <> struct HasMapMatching final : std::false_type -{ -}; -template <> struct HasAlternativePathSearch final : std::false_type -{ -}; -template <> struct HasManyToManySearch final : std::false_type -{ -}; -template <> struct HasShortestPathSearch final : std::false_type -{ -}; -template <> struct HasGetTileTurns final : std::false_type -{ -}; } } }