lemon/bits/graph_extender.h
changeset 2362 eb37b9774ef6
parent 2290 f30867b359a8
child 2384 805c5a2a36dd
equal deleted inserted replaced
26:255d35229909 27:161cbd021899
   281       getNotifier(Node()).clear();
   281       getNotifier(Node()).clear();
   282       Parent::clear();
   282       Parent::clear();
   283     }
   283     }
   284 
   284 
   285     template <typename Graph, typename NodeRefMap, typename EdgeRefMap>
   285     template <typename Graph, typename NodeRefMap, typename EdgeRefMap>
   286     void clone(const Graph& graph, NodeRefMap& nodeRef, EdgeRefMap& edgeRef) {
   286     void build(const Graph& graph, NodeRefMap& nodeRef, EdgeRefMap& edgeRef) {
   287       Parent::clone(graph, nodeRef, edgeRef);
   287       Parent::build(graph, nodeRef, edgeRef);
   288       getNotifier(Node()).build();
   288       getNotifier(Node()).build();
   289       getNotifier(Edge()).build();
   289       getNotifier(Edge()).build();
   290     }
   290     }
   291 
   291 
   292     void erase(const Node& node) {
   292     void erase(const Node& node) {
   692       getNotifier(Node()).clear();
   692       getNotifier(Node()).clear();
   693       Parent::clear();
   693       Parent::clear();
   694     }
   694     }
   695 
   695 
   696     template <typename Graph, typename NodeRefMap, typename UEdgeRefMap>
   696     template <typename Graph, typename NodeRefMap, typename UEdgeRefMap>
   697     void clone(const Graph& graph, NodeRefMap& nodeRef, 
   697     void build(const Graph& graph, NodeRefMap& nodeRef, 
   698                UEdgeRefMap& uEdgeRef) {
   698                UEdgeRefMap& uEdgeRef) {
   699       Parent::clone(graph, nodeRef, uEdgeRef);
   699       Parent::build(graph, nodeRef, uEdgeRef);
   700       getNotifier(Node()).build();
   700       getNotifier(Node()).build();
   701       getNotifier(UEdge()).build();
   701       getNotifier(UEdge()).build();
   702       getNotifier(Edge()).build();
   702       getNotifier(Edge()).build();
   703     }
   703     }
   704 
   704 
  1316       Parent::clear();
  1316       Parent::clear();
  1317     }
  1317     }
  1318 
  1318 
  1319     template <typename Graph, typename ANodeRefMap, 
  1319     template <typename Graph, typename ANodeRefMap, 
  1320               typename BNodeRefMap, typename UEdgeRefMap>
  1320               typename BNodeRefMap, typename UEdgeRefMap>
  1321     void clone(const Graph& graph, ANodeRefMap& aNodeRef, 
  1321     void build(const Graph& graph, ANodeRefMap& aNodeRef, 
  1322                BNodeRefMap& bNodeRef, UEdgeRefMap& uEdgeRef) {
  1322                BNodeRefMap& bNodeRef, UEdgeRefMap& uEdgeRef) {
  1323       Parent::clone(graph, aNodeRef, bNodeRef, uEdgeRef);
  1323       Parent::build(graph, aNodeRef, bNodeRef, uEdgeRef);
  1324       getNotifier(ANode()).build();
  1324       getNotifier(ANode()).build();
  1325       getNotifier(BNode()).build();
  1325       getNotifier(BNode()).build();
  1326       getNotifier(Node()).build();
  1326       getNotifier(Node()).build();
  1327       getNotifier(UEdge()).build();
  1327       getNotifier(UEdge()).build();
  1328       getNotifier(Edge()).build();
  1328       getNotifier(Edge()).build();