lemon/bits/clearable_graph_extender.h
changeset 1923 e1b0ef823e9e
parent 1909 2d806130e700
child 1956 a055123339d5
equal deleted inserted replaced
3:cc9bfdafa388 4:b6b5a150c459
    77 
    77 
    78   };
    78   };
    79 
    79 
    80 
    80 
    81   template <typename _Base>
    81   template <typename _Base>
    82   class ClearableUBipartiteGraphExtender : public _Base {
    82   class ClearableBpUGraphExtender : public _Base {
    83   public:
    83   public:
    84 
    84 
    85     typedef _Base Parent;
    85     typedef _Base Parent;
    86     typedef ClearableUBipartiteGraphExtender Graph;
    86     typedef ClearableBpUGraphExtender Graph;
    87 
    87 
    88     typedef typename Parent::Node Node;
    88     typedef typename Parent::Node Node;
    89     typedef typename Parent::LowerNode LowerNode;
    89     typedef typename Parent::BNode BNode;
    90     typedef typename Parent::UpperNode UpperNode;
    90     typedef typename Parent::ANode ANode;
    91     typedef typename Parent::Edge Edge;
    91     typedef typename Parent::Edge Edge;
    92     typedef typename Parent::UEdge UEdge;
    92     typedef typename Parent::UEdge UEdge;
    93 
    93 
    94     void clear() {
    94     void clear() {
    95       Parent::getNotifier(Edge()).clear();
    95       Parent::getNotifier(Edge()).clear();
    96       Parent::getNotifier(UEdge()).clear();
    96       Parent::getNotifier(UEdge()).clear();
    97       Parent::getNotifier(Node()).clear();
    97       Parent::getNotifier(Node()).clear();
    98       Parent::getNotifier(LowerNode()).clear();
    98       Parent::getNotifier(BNode()).clear();
    99       Parent::getNotifier(UpperNode()).clear();
    99       Parent::getNotifier(ANode()).clear();
   100       Parent::clear();
   100       Parent::clear();
   101     }
   101     }
   102 
   102 
   103   };
   103   };
   104 
   104