def __init__(self, method=COSINE):
        self.method = method
        self._cache = {}
A lazy map of cached distances between Vector objects.
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/DistanceMap.__init__