1.1 --- a/demo/lgf_demo.cc Fri Jul 04 16:12:31 2008 +0200
1.2 +++ b/demo/lgf_demo.cc Sat Jul 05 00:14:27 2008 +0200
1.3 @@ -34,8 +34,6 @@
1.4 #include <lemon/smart_graph.h>
1.5 #include <lemon/lgf_reader.h>
1.6 #include <lemon/lgf_writer.h>
1.7 -#include <lemon/random.h>
1.8 -
1.9
1.10 using namespace lemon;
1.11
1.12 @@ -44,13 +42,13 @@
1.13 SmartDigraph::ArcMap<int> cap(g);
1.14 SmartDigraph::Node s, t;
1.15
1.16 - digraphReader("digraph.lgf", g). // read the directeg graph into g
1.17 + digraphReader("digraph.lgf", g). // read the directed graph into g
1.18 arcMap("capacity", cap). // read the 'capacity' arc map into cap
1.19 node("source", s). // read 'source' node to s
1.20 node("target", t). // read 'target' node to t
1.21 run();
1.22
1.23 - std::cout << "Digraph read from 'digraph.lgf'" << std::endl;
1.24 + std::cout << "A digraph is read from 'digraph.lgf'." << std::endl;
1.25 std::cout << "Number of nodes: " << countNodes(g) << std::endl;
1.26 std::cout << "Number of arcs: " << countArcs(g) << std::endl;
1.27