class_docstr: Class to perform search using a Brute force.
class_docstr_tok: ["Class","to","perform","search","using","a","Brute","force","."]
docstr: Initialize a dictionary for mapping file names and corresponding hashes and a distance function to be used for
  getting distance between two hash strings.
  
  Args:
      hash_dict: Dictionary mapping file names to corresponding hash strings {filename: hash}
      distance_function:  A function for calculating distance between the hashes.
docstr_tok: ["Initialize","a","dictionary","for","mapping","file","names","and","corresponding","hashes","and","a","distance","function","to","be","used","for","getting","distance","between","two","hash","strings",".","Args",":","hash_dict",":","Dictionary","mapping","file","names","to","corresponding","hash","strings","{","filename",":","hash","}","distance_function",":","A","function","for","calculating","distance","between","the","hashes","."]
code: def __init__(
      self, hash_dict: Dict, distance_function: Callable
  ) -> None:
      """
      Initialize a dictionary for mapping file names and corresponding hashes and a distance function to be used for
      getting distance between two hash strings.
  
      Args:
          hash_dict: Dictionary mapping file names to corresponding hash strings {filename: hash}
          distance_function:  A function for calculating distance between the hashes.
      """
      self.distance_function = distance_function
      self.hash_dict = hash_dict
  
imports: from typing import Callable, Dict
  import brute_force_cython_ext
label_desc: Use image node_id 1 to create a new BruteForceCython object  with example: obj = BruteForceCython(hash_dict, distance_function)