From cd4de34f5fb15e3e65a57001217eb41e1a8c4f39 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Wed, 29 May 2024 08:24:25 +0200 Subject: [PATCH] wip --- .../routing_algorithms/routing_base_mld.hpp | 33 ++++++++++++++----- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/include/engine/routing_algorithms/routing_base_mld.hpp b/include/engine/routing_algorithms/routing_base_mld.hpp index 029571de2..7f4ce331d 100644 --- a/include/engine/routing_algorithms/routing_base_mld.hpp +++ b/include/engine/routing_algorithms/routing_base_mld.hpp @@ -538,12 +538,12 @@ std::optional> runSearch(const DataFacade( - facade, reverse_heap, forward_heap, middle, weight, force_step_nodes, args...); - if (!reverse_heap.Empty()) - reverse_heap_min = reverse_heap.MinKey(); - } + // while (!reverse_heap.Empty() && (reverse_heap_min < weight)) { + // routingStep( + // facade, reverse_heap, forward_heap, middle, weight, force_step_nodes, args...); + // if (!reverse_heap.Empty()) + // reverse_heap_min = reverse_heap.MinKey(); + // } // No path found for both target nodes? if (weight >= weight_upper_bound || SPECIAL_NODEID == middle) @@ -551,7 +551,7 @@ std::optional> runSearch(const DataFacade