def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def _read_flow(self, file_name):
        # Return the flow or a tuple with the flow and the valid_flow_mask if _has_builtin_flow_mask is True
        pass