COIN-OR::LEMON - Graph Library

Changeset 2252:133028e83940 in lemon-0.x for benchmark/edge_lookup.cc


Ignore:
Timestamp:
10/17/06 13:02:30 (15 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3002
Message:

A trial to make the last test platform independent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/edge_lookup.cc

    r2242 r2252  
    7676};
    7777
    78 // class EL4
    79 // {
    80 // public:
    81 //   Graph &_g;
    82 //   EdgeLookUp4<Graph> _el;
    83 //   EL4(Graph &g) :_g(g), _el(g) {}
    84 //   void operator()()
    85 //   {
    86 //     Edge e;
     78class EL4
     79{
     80public:
     81  Graph &_g;
     82  EdgeLookUp4<Graph> _el;
     83  EL4(Graph &g) :_g(g), _el(g) {}
     84  void operator()()
     85  {
     86    Edge e;
    8787   
    88 //     for(NodeIt v(_g);v!=INVALID;++v)
    89 //       for(NodeIt u(_g);u!=INVALID;++u)
    90 //      e=_el(u,v);
    91 //   }
     88    for(NodeIt v(_g);v!=INVALID;++v)
     89      for(NodeIt u(_g);u!=INVALID;++u)
     90        e=_el(u,v);
     91  }
    9292 
    93 // };
     93};
    9494
    9595int main(int, char**argv)
Note: See TracChangeset for help on using the changeset viewer.