class_docstr: Object that manages all the data related to the computation
  except the actual within-bucket matching and the organization of the
  computation (parallel or not)
class_docstr_tok: ["Object","that","manages","all","the","data","related","to","the","computation","except","the","actual","within-bucket","matching","and","the","organization","of","the","computation","(","parallel","or","not",")"]
docstr: add the bucket results to the heap structure
docstr_tok: ["add","the","bucket","results","to","the","heap","structure"]
code: def add_results_to_heap(self, q_subset, D, list_ids, I):
      """add the bucket results to the heap structure"""
      if D is None:
          return
      t0 = time.time()
      if I is None:
          I = list_ids
      else:
          I = list_ids[I]
      self.rh.add_result_subset(q_subset, D, I)
      self.t_accu[3] += time.time() - t0
  
imports: import time
  import pickle
  import os
  import logging
  from multiprocessing.pool import ThreadPool
  import threading
  import _thread
  from queue import Queue
  import traceback
  import datetime
  import numpy
  import faiss
  from faiss.contrib.inspect_tools import get_invlist
label_desc: Use image node_id 10 for calling the BigBatchSearcher obj's underlying member method code with example usage: obj.add_results_to_heap(q_subset, D, list_ids, I) without return types