Maximum flow algorithm

procedure:

  • for all edge, set
  • while there exists an augmenting path
    • for all edge in AP

See also