def reset(self, dim):
        self.dim = dim
        self.bucket_key_map = {}
        # Reset all child hashes
        for child_hash in self.child_hashes:
            child_hash.reset(dim)
Resets / Initializes the hash for the specified dimension.
dataset/ETHPy150Open pixelogik/NearPy/nearpy/hashes/permutation/hashpermutationmapper.py/HashPermutationMapper.reset