COIN-OR::LEMON - Graph Library

Changeset 192:7bf5f97d574f in lemon-main for demo


Ignore:
Timestamp:
07/05/08 00:14:27 (16 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Doc improvements in LGF related files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • demo/lgf_demo.cc

    r164 r192  
    3535#include <lemon/lgf_reader.h>
    3636#include <lemon/lgf_writer.h>
    37 #include <lemon/random.h>
    38 
    3937
    4038using namespace lemon;
     
    4543  SmartDigraph::Node s, t;
    4644
    47   digraphReader("digraph.lgf", g). // read the directeg graph into g
     45  digraphReader("digraph.lgf", g). // read the directed graph into g
    4846    arcMap("capacity", cap).       // read the 'capacity' arc map into cap
    4947    node("source", s).             // read 'source' node to s
     
    5149    run();
    5250
    53   std::cout << "Digraph read from 'digraph.lgf'" << std::endl;
     51  std::cout << "A digraph is read from 'digraph.lgf'." << std::endl;
    5452  std::cout << "Number of nodes: " << countNodes(g) << std::endl;
    5553  std::cout << "Number of arcs: " << countArcs(g) << std::endl;
Note: See TracChangeset for help on using the changeset viewer.