From 6d5ed75624b583aa821a8c7467ab2e953ac7e9b4 Mon Sep 17 00:00:00 2001 From: Florian Fontan Date: Wed, 8 May 2024 15:30:45 +0200 Subject: [PATCH] Fix iterative beam search 2 --- include/treesearchsolver/iterative_beam_search_2.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/treesearchsolver/iterative_beam_search_2.hpp b/include/treesearchsolver/iterative_beam_search_2.hpp index b844b1f..4b25e8b 100644 --- a/include/treesearchsolver/iterative_beam_search_2.hpp +++ b/include/treesearchsolver/iterative_beam_search_2.hpp @@ -155,12 +155,6 @@ inline const IterativeBeamSearch2Output iterative_beam_search_2 continue; } - if ((NodeId)q[current_depth + 1]->size() == output.maximum_size_of_the_queue - && branching_scheme(*(std::prev(q[current_depth + 1]->end())), current_node)) { - stop = false; - break; - } - // Get next child. auto children = branching_scheme.children(current_node); output.number_of_nodes_expanded++;