code: def build_permuted_index(self):
          
  
          for child_hash in self.child_hashes:
              # Get config values for child hash
              config = child_hash['config']
              num_permutation = config['num_permutation']
              beam_size = config['beam_size']
              num_neighbour = config['num_neighbour']
  
              # Get used buckets keys for child hash
              bucket_keys = child_hash['bucket_keys'].keys()
  
              # Get actual child hash
              lshash = child_hash['hash']
  
              # Compute permuted index for this hash
              self.permutation.build_permuted_index(lshash,bucket_keys,num_permutation,beam_size,num_neighbour)
docs: Build PermutedIndex for all your binary hashings.
          PermutedIndex would be used to find the neighbour bucket key
          in terms of Hamming distance. Permute_configs is nested dict
          in the following format:
          permuted_config = {"<hash_name>":
                             { "num_permutation":50,
                               "beam_size":10,
                               "num_neighbour":100 }
                            }