COIN-OR::LEMON - Graph Library

Changeset 103:063de9e1be98 in lemon-0.x for src


Ignore:
Timestamp:
02/20/04 01:27:49 (21 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@136
Message:

.

Location:
src/work/alpar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/work/alpar/f_ed_ka_demo.cc

    r95 r103  
    11#include <iostream>
    22#include <fstream>
     3
     4#include "smart_graph.h"
    35
    46#include "../list_graph.hh"
     
    1315
    1416int main(int, char **) {
    15   typedef ListGraph::NodeIt NodeIt;
    16   typedef ListGraph::EachNodeIt EachNodeIt;
    17   typedef ListGraph::EachEdgeIt EachEdgeIt;
     17  //  typedef SmartGraph Graph;
     18  typedef ListGraph Graph;
    1819
    19   ListGraph G;
     20  typedef Graph::NodeIt NodeIt;
     21  typedef Graph::EachNodeIt EachNodeIt;
     22  typedef Graph::EachEdgeIt EachEdgeIt;
     23
     24  Graph G;
    2025  NodeIt s, t;
    21   ListGraph::EdgeMap<int> cap(G);
     26  Graph::EdgeMap<int> cap(G);
    2227  readDimacsMaxFlow(std::cin, G, s, t, cap);
    2328
    2429  std::cout << "edmonds karp demo..." << std::endl;
    25   ListGraph::EdgeMap<int> flow(G); //0 flow
     30  Graph::EdgeMap<int> flow(G); //0 flow
    2631 
    2732  int ret;
  • src/work/alpar/gwrapper.h

    r70 r103  
    11// -*-mode: c++; -*-
     2#ifndef GRAPH_WRAPPER_H
     3#define GRAPH_WRAPPER_H
     4
     5namespace marci {
    26
    37template<typename G>
Note: See TracChangeset for help on using the changeset viewer.