def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def __verify_arguments(self):
        """!
        @brief Verify input parameters for the algorithm and throw exception in case of incorrectness.