COIN-OR::LEMON - Graph Library

Changeset 1641:77f6ab7ad66f in lemon-0.x for demo/hello_lemon.cc


Ignore:
Timestamp:
08/18/05 00:07:35 (14 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2154
Message:

Demos' documentations include the source.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • demo/hello_lemon.cc

    r1636 r1641  
    2222/// the very basic notions of the LEMON library: \ref graphs "graphs" and
    2323/// \ref maps-page "maps". Click on the links to read more about these.
     24///
     25/// \include hello_lemon.cc
    2426
    2527#include <iostream>
     
    8284  std::cout <<  std::endl;
    8385  for (EdgeIt i(g); i!=INVALID; ++i)
    84     std::cout << "length(" << g.id(g.source(i)) << "," << g.id(g.target(i)) << ")="<<length[i]<<std::endl;
     86    std::cout << "length(" << g.id(g.source(i)) << ","
     87              << g.id(g.target(i)) << ")="<<length[i]<<std::endl;
    8588
    8689  std::cout << std::endl;
Note: See TracChangeset for help on using the changeset viewer.