def compute(self, x, y):
        '''
        Args:
            x:    Data point.
            y:    Data point.
        
        Returns:
            Distance.
        '''
        return np.sqrt(np.sum((x-y)**2))