COIN-OR::LEMON - Graph Library

Changeset 1526:8c14aa8f27a2 in lemon-0.x for demo


Ignore:
Timestamp:
06/30/05 18:13:30 (14 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2012
Message:

Mainly doc review.

Location:
demo
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • demo/Makefile.am

    r1520 r1526  
    66noinst_PROGRAMS = \
    77        dim_to_dot \
     8        dijkstra_demo \
    89        dim_to_lgf \
    910        graph_to_eps_demo \
     
    2324
    2425dim_to_dot_SOURCES = dim_to_dot.cc
     26
     27dijkstra_demo_SOURCES = dijkstra_demo.cc
    2528
    2629dim_to_lgf_SOURCES = dim_to_lgf.cc
  • demo/dijkstra_demo.cc

    r1521 r1526  
    33#include <lemon/list_graph.h>
    44#include <lemon/dijkstra.h>
    5 //#include <lemon/bits/item_writer.h>
     5//#include <lemon/graph_writer.h>
    66
    77using namespace lemon;
     
    5050
    5151//     GraphWriter<ListGraph> writer(std::cout, g);
    52 //     writer.writeEdgeMap("capacity", length);
     52//     writer.writeEdgeMap("capacity", len);
    5353//     writer.writeNode("source", s);
    5454//     writer.writeNode("target", t);
  • demo/hello_lemon.cc

    r1520 r1526  
    1818      if (i != j) g.addEdge(i, j);
    1919
     20  std::cout << "Hello World!" << std::endl;
     21  std::cout <<  std::endl;
     22  std::cout << "This is library LEMON here! We have a graph!" << std::endl;
     23  std::cout <<  std::endl;
     24
    2025  std::cout << "Nodes:";
    2126  for (NodeIt i(g); i!=INVALID; ++i)
Note: See TracChangeset for help on using the changeset viewer.