COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
11/21/05 18:48:00 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2370
Message:

Undir Bipartite Graph/Full? and Smart/ without concept, doc and concept
checking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bits/clearable_graph_extender.h

    r1435 r1820  
    4545  };
    4646
     47
     48  template <typename _Base>
     49  class ClearableUndirBipartiteGraphExtender : public _Base {
     50  public:
     51
     52    typedef _Base Parent;
     53    typedef ClearableUndirBipartiteGraphExtender Graph;
     54
     55    typedef typename Parent::Node Node;
     56    typedef typename Parent::LowerNode LowerNode;
     57    typedef typename Parent::UpperNode UpperNode;
     58    typedef typename Parent::Edge Edge;
     59    typedef typename Parent::UndirEdge UndirEdge;
     60
     61    void clear() {
     62      Parent::getNotifier(Edge()).clear();
     63      Parent::getNotifier(UndirEdge()).clear();
     64      Parent::getNotifier(Node()).clear();
     65      Parent::getNotifier(LowerNode()).clear();
     66      Parent::getNotifier(UpperNode()).clear();
     67      Parent::clear();
     68    }
     69
     70  };
     71
    4772}
    4873
Note: See TracChangeset for help on using the changeset viewer.