From 0397b50592a0a441cd666ecc245857c2ea909fb0 Mon Sep 17 00:00:00 2001 From: zbw8388 Date: Sat, 14 May 2022 21:21:20 -0400 Subject: [PATCH] Fix child ilnkage when the child problem is solved --- src/task.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/task.cpp b/src/task.cpp index ce0098a..2b7a37d 100644 --- a/src/task.cpp +++ b/src/task.cpp @@ -208,6 +208,8 @@ void Task::send_explorer(Task const & child, float scope, int feature, unsigned State::graph.vertices.find(child, key -> second); if (scope < child -> second.upperscope()) { adjacency_accessor parents; + State::graph.translations.insert(std::make_pair(std::make_pair(this -> identifier(), feature), order())); // insert translation + State::graph.children.insert(std::make_pair(std::make_pair(this -> identifier(), feature), key -> second)); // insert forward look-up entry State::graph.edges.find(parents, child -> second.identifier()); // insert backward look-up entry std::pair insertion = parents -> second.insert( std::make_pair(this -> identifier(), std::make_pair(Bitmask(State::dataset.width(), false), scope)));