コード例 #1
0
 def run_Kd_hybrid(self, param):
     logging.debug('building Kd_hybrid...')
     tree = Kd_hybrid(self.data, param)
     start = time.clock()
     tree.buildIndex()
     tree.adjustConsistency()
     end = time.clock()
     logging.info('[T] Kd-hybrid building time: %.2f' % (end - start))
     return self.query(tree, "Kd_hybrid")
コード例 #2
0
 def __init__(self, data, param):
     Kd_hybrid.__init__(self, data, param)