/** Clears the queues */ void Clear() { // Clear the search queue q.clear(); // Clear the node_parent_map node_parents.clear(); // Clear the node_value_map node_values.clear(); }
/** Clears the queues */ void Clear() { // Clear the search queue while (!q.empty()) q.pop(); // Clear the node_parent_map node_parents.clear(); // Clear the node_value_map node_values.clear(); }