Ford-Fulkerson Algorithm for Max Flow Problem

An Edmonds-Karp implementation to solve the Max-flow Min-cut Problem
597 descargas
Actualizado 23 nov 2017

Ver licencia

See details of the Max-flow problem in
The first example in the code (as well as the thumbnail image) is taken from the same website above.

This MATLAB code works with an adjacency matrix to represent the graph. It also contains the function "findpath" which is a BFS (Breadth-first search) implementation for finding augmenting paths. Paths are stored using a predecessor array. I tried to make the code look elegant. :)

The output is the maximum flow and the residual graph.

Citar como

Karl Ezra Pilario (2024). Ford-Fulkerson Algorithm for Max Flow Problem (, MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2013b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Más información sobre Statistics and Machine Learning Toolbox en Help Center y MATLAB Answers.

Inspiración para: Rearranging Rows for Gauss - Seidel Method

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión