def manhattanDistance(xy1, xy2):
    return abs(xy1[0] - xy2[0]) + abs(xy1[1] - xy2[1])
Returns the Manhattan distance between points xy1 and xy2
dataset/ETHPy150Open rlpy/rlpy/rlpy/Domains/PacmanPackage/util.py/manhattanDistance