From 1cfa23497beae7fe8b41a245dfffa15214b86a31 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 20 Nov 2006 23:42:44 +0000 Subject: [PATCH] Integrate Kolmogorov's max flow algorithm, from Stephan Diederich. [SVN r36125] --- doc/bibliography.html | 9 + doc/edmunds_karp_max_flow.html | 5 +- doc/figs/kolmogorov_max_flow.gif | Bin 0 -> 10214 bytes doc/history.html | 6 + doc/kolmogorov_max_flow.html | 384 + doc/push_relabel_max_flow.html | 3 +- doc/read_dimacs.html | 99 + doc/table_of_contents.html | 11 +- doc/write_dimacs.html | 104 + example/kolmogorov-eg.cpp | 112 + example/max_flow4.dat | 104 + example/max_flow5.dat | 6004 +++++++++++ example/max_flow6.dat | 404 + example/max_flow7.dat | 10004 ++++++++++++++++++ example/max_flow8.dat | 8004 ++++++++++++++ example/max_flow9.dat | 10004 ++++++++++++++++++ example/read_write_dimacs-eg.cpp | 123 + include/boost/graph/kolmogorov_max_flow.hpp | 807 ++ include/boost/graph/read_dimacs.hpp | 9 +- include/boost/graph/write_dimacs.hpp | 72 + test/Jamfile.v2 | 3 + test/kolmogorov_max_flow_test.cpp | 434 + test/max_flow_test.cpp | 136 + 23 files changed, 36829 insertions(+), 12 deletions(-) create mode 100644 doc/figs/kolmogorov_max_flow.gif create mode 100644 doc/kolmogorov_max_flow.html create mode 100644 doc/read_dimacs.html create mode 100644 doc/write_dimacs.html create mode 100644 example/kolmogorov-eg.cpp create mode 100644 example/max_flow4.dat create mode 100644 example/max_flow5.dat create mode 100644 example/max_flow6.dat create mode 100644 example/max_flow7.dat create mode 100644 example/max_flow8.dat create mode 100644 example/max_flow9.dat create mode 100644 example/read_write_dimacs-eg.cpp create mode 100644 include/boost/graph/kolmogorov_max_flow.hpp create mode 100644 include/boost/graph/write_dimacs.hpp create mode 100644 test/kolmogorov_max_flow_test.cpp create mode 100644 test/max_flow_test.cpp diff --git a/doc/bibliography.html b/doc/bibliography.html index 97f19fef..eb21fe95 100644 --- a/doc/bibliography.html +++ b/doc/bibliography.html @@ -405,6 +405,15 @@ Morgan Kaufmann Publishers, San Fransisco, 1997. Modern Compiler Implementation in JAVA
Cambridge University Press, 1998. +

68 +
Vladimir Kolmogorov
+Graph Based Algorithms for Scene Reconstruction from Two or More Views
+PhD thesis, Cornell University, September 2003. + +

69 +
Yuri Boykov and Vladimir Kolmogorov
+ An Experimental Comparison of Min-Cut/Max-Flow Algorithms for Energy Minimization in Vision
+ In IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 26, no. 9, pp. 1124-1137, Sept. 2004.
diff --git a/doc/edmunds_karp_max_flow.html b/doc/edmunds_karp_max_flow.html index 6546b2d0..0468dd72 100644 --- a/doc/edmunds_karp_max_flow.html +++ b/doc/edmunds_karp_max_flow.html @@ -79,6 +79,8 @@ This algorithm provides a very simple and easy to implement solution to the maximum flow problem. However, there are several reasons why this algorithm is not as good as the push_relabel_max_flow() +or the kolmogorov_max_flow() algorithm.