Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65593 - in trunk/libs/graph: doc example
From: jewillco_at_[hidden]
Date: 2010-09-25 22:29:43


Author: jewillco
Date: 2010-09-25 22:29:42 EDT (Sat, 25 Sep 2010)
New Revision: 65593
URL: http://svn.boost.org/trac/boost/changeset/65593

Log:
Added patch from Daniel Trebbien
Text files modified:
   trunk/libs/graph/doc/table_of_contents.html | 4 +++-
   trunk/libs/graph/example/stoer_wagner.cpp | 3 ++-
   2 files changed, 5 insertions(+), 2 deletions(-)

Modified: trunk/libs/graph/doc/table_of_contents.html
==============================================================================
--- trunk/libs/graph/doc/table_of_contents.html (original)
+++ trunk/libs/graph/doc/table_of_contents.html 2010-09-25 22:29:42 EDT (Sat, 25 Sep 2010)
@@ -208,9 +208,11 @@
                   </li>
                   <li>boykov_kolmogorov_max_flow</li>
                   <LI>edmonds_maximum_cardinality_matching
+ </OL>
+ <LI>Minimum Cut Algorithms
+ <OL>
                   <LI>stoer_wagner_min_cut
                 </OL>
-
               <li>Sparse Matrix Ordering Algorithms
                 <ol>
                   <LI><A

Modified: trunk/libs/graph/example/stoer_wagner.cpp
==============================================================================
--- trunk/libs/graph/example/stoer_wagner.cpp (original)
+++ trunk/libs/graph/example/stoer_wagner.cpp 2010-09-25 22:29:42 EDT (Sat, 25 Sep 2010)
@@ -5,6 +5,7 @@
 
 #include <cassert>
 #include <cstddef>
+#include <cstdlib>
 #include <iostream>
 #include <boost/graph/adjacency_list.hpp>
 #include <boost/graph/graph_traits.hpp>
@@ -19,7 +20,7 @@
   unsigned long second;
 };
 
-// A graphic of the min-cut is available at <http://www.boost.org/doc/libs/release/libs/graph/doc/stoer_wagner.cpp.gif>
+// A graphic of the min-cut is available at <http://www.boost.org/doc/libs/release/libs/graph/doc/stoer_wagner_imgs/stoer_wagner.cpp.gif>
 int main()
 {
   using namespace std;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk