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++;