def _augment(graph, capacity, flow, val, u, target, visit):
    visit[u] = True
    if u == target:
        return val
    for v in graph[u]:
        cuv = capacity[u][v]
        if not visit[v] and cuv > flow[u][v]:  # arc franchissable
            res = min(val, cuv - flow[u][v])
            delta = _augment(graph, capacity, flow, res, v, target, visit)
            if delta > 0:
                flow[u][v] += delta            # augmenter le flot
                flow[v][u] -= delta
                return delta
    return 0
A shortcut for the ProgressDialogManager.step() method
dataset/ETHPy150Open jilljenn/tryalgo/tryalgo/ford_fulkerson.py/_augment--crossover with--dataset/ETHPy150Open eoyilmaz/anima/anima/ui/progress_dialog.py/ProgressCaller.step