[Lemon-commits] [lemon_svn] athos: r2006 - in hugo/trunk: demo doc
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:49:27 CET 2006
Author: athos
Date: Tue Jun 28 15:47:16 2005
New Revision: 2006
Modified:
hugo/trunk/demo/dijkstra_demo.cc
hugo/trunk/doc/quicktour.dox
Log:
Some modifications.
Modified: hugo/trunk/demo/dijkstra_demo.cc
==============================================================================
--- hugo/trunk/demo/dijkstra_demo.cc (original)
+++ hugo/trunk/demo/dijkstra_demo.cc Tue Jun 28 15:47:16 2005
@@ -2,6 +2,7 @@
#include <lemon/list_graph.h>
#include <lemon/dijkstra.h>
+//#include <lemon/bits/item_writer.h>
using namespace lemon;
@@ -47,6 +48,12 @@
std::cout << "Dijkstra algorithm test..." << std::endl;
+// GraphWriter<ListGraph> writer(std::cout, g);
+// writer.writeEdgeMap("capacity", length);
+// writer.writeNode("source", s);
+// writer.writeNode("target", t);
+// writer.run();
+
Dijkstra<Graph, LengthMap> dijkstra_test(g,len);
dijkstra_test.run(s);
Modified: hugo/trunk/doc/quicktour.dox
==============================================================================
--- hugo/trunk/doc/quicktour.dox (original)
+++ hugo/trunk/doc/quicktour.dox Tue Jun 28 15:47:16 2005
@@ -265,11 +265,9 @@
<tt>./lp_maxflow_demo < ?????????.lgf</tt>
-where ?????????.lgf is a file in the lemon format containing a maxflow instance (designated "source", "target" nodes and "capacity" map).
+where ?????????.lgf is a file in the lemon format containing a maxflow instance (designated "source", "target" nodes and "capacity" map on the edges).
-See the whole code in \ref lp_demo.cc.
-
</ol>
</ul>
More information about the Lemon-commits
mailing list