COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
03/04/04 20:38:07 (17 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@217
Message:

graph wrappers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/marci/edmonds_karp_demo.cc

    r146 r155  
    66#include <edmonds_karp.hh>
    77#include <time_measure.h>
     8#include <graph_wrapper.h>
    89
    910using namespace hugo;
     
    5859  ListGraph::EdgeMap<int> cap(G);
    5960  readDimacsMaxFlow(std::cin, G, s, t, cap);
     61/*
     62  typedef TrivGraphWrapper<ListGraph> TGW;
     63  TGW gw(G);
     64  TGW::EachNodeIt sw;
     65  gw.getFirst(sw);
     66  std::cout << "p1:" << gw.nodeNum() << std::endl;
     67  gw.erase(sw);
     68  std::cout << "p2:" << gw.nodeNum() << std::endl;
     69
     70  typedef const ListGraph cLG;
     71  typedef TrivGraphWrapper<const cLG> CTGW;
     72  CTGW cgw(G);
     73  CTGW::EachNodeIt csw;
     74  cgw.getFirst(csw);
     75  std::cout << "p1:" << cgw.nodeNum() << std::endl;
     76  //cgw.erase(csw);
     77  std::cout << "p2:" << cgw.nodeNum() << std::endl;
     78*/
    6079
    6180  {
Note: See TracChangeset for help on using the changeset viewer.