diff -r 1e6af6f0843c -r 7bf5f97d574f demo/lgf_demo.cc --- a/demo/lgf_demo.cc Fri Jul 04 16:12:31 2008 +0200 +++ b/demo/lgf_demo.cc Sat Jul 05 00:14:27 2008 +0200 @@ -34,8 +34,6 @@ #include #include #include -#include - using namespace lemon; @@ -44,13 +42,13 @@ SmartDigraph::ArcMap cap(g); SmartDigraph::Node s, t; - digraphReader("digraph.lgf", g). // read the directeg graph into g + digraphReader("digraph.lgf", g). // read the directed graph into g arcMap("capacity", cap). // read the 'capacity' arc map into cap node("source", s). // read 'source' node to s node("target", t). // read 'target' node to t run(); - std::cout << "Digraph read from 'digraph.lgf'" << std::endl; + std::cout << "A digraph is read from 'digraph.lgf'." << std::endl; std::cout << "Number of nodes: " << countNodes(g) << std::endl; std::cout << "Number of arcs: " << countArcs(g) << std::endl;