COIN-OR::LEMON - Graph Library

Changeset 335:999eb3cd7b49 in lemon-0.x for src/work/list_graph.h


Ignore:
Timestamp:
04/16/04 10:26:00 (16 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@454
Message:

jflsjfljskf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/list_graph.h

    r309 r335  
    295295    //void get_invalid(SymEdgeIt& e) { e=SymEdgeIt(); }
    296296
    297     template< typename It >
    298     It first() const {
    299       It e;
    300       first(e);
    301       return e;
    302     }
    303 
    304     template< typename It >
    305     It first(Node v) const {
    306       It e;
    307       first(e, v);
    308       return e;
    309     }
     297//     template< typename It >
     298//     It first() const {
     299//       It e;
     300//       first(e);
     301//       return e;
     302//     }
     303
     304//     template< typename It >
     305//     It first(Node v) const {
     306//       It e;
     307//       first(e, v);
     308//       return e;
     309//     }
    310310
    311311    bool valid(Node n) const { return n.valid(); }
     
    353353
    354354    void clear() {
    355       while (first<NodeIt>().valid()) erase(first<NodeIt>());
     355      NodeIt e;
     356      while (this->valid(first(e))) erase(e);
     357      //while (first<NodeIt>().valid()) erase(first<NodeIt>());
    356358    }
    357359
Note: See TracChangeset for help on using the changeset viewer.