COIN-OR::LEMON - Graph Library

Changeset 2329:3f4a04a9b7bf in lemon-0.x for lemon/bits


Ignore:
Timestamp:
12/12/06 14:35:52 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3105
Message:

clone => build renaming

Location:
lemon/bits
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lemon/bits/graph_extender.h

    r2290 r2329  
    284284
    285285    template <typename Graph, typename NodeRefMap, typename EdgeRefMap>
    286     void clone(const Graph& graph, NodeRefMap& nodeRef, EdgeRefMap& edgeRef) {
    287       Parent::clone(graph, nodeRef, edgeRef);
     286    void build(const Graph& graph, NodeRefMap& nodeRef, EdgeRefMap& edgeRef) {
     287      Parent::build(graph, nodeRef, edgeRef);
    288288      getNotifier(Node()).build();
    289289      getNotifier(Edge()).build();
     
    695695
    696696    template <typename Graph, typename NodeRefMap, typename UEdgeRefMap>
    697     void clone(const Graph& graph, NodeRefMap& nodeRef,
     697    void build(const Graph& graph, NodeRefMap& nodeRef,
    698698               UEdgeRefMap& uEdgeRef) {
    699       Parent::clone(graph, nodeRef, uEdgeRef);
     699      Parent::build(graph, nodeRef, uEdgeRef);
    700700      getNotifier(Node()).build();
    701701      getNotifier(UEdge()).build();
     
    13191319    template <typename Graph, typename ANodeRefMap,
    13201320              typename BNodeRefMap, typename UEdgeRefMap>
    1321     void clone(const Graph& graph, ANodeRefMap& aNodeRef,
     1321    void build(const Graph& graph, ANodeRefMap& aNodeRef,
    13221322               BNodeRefMap& bNodeRef, UEdgeRefMap& uEdgeRef) {
    1323       Parent::clone(graph, aNodeRef, bNodeRef, uEdgeRef);
     1323      Parent::build(graph, aNodeRef, bNodeRef, uEdgeRef);
    13241324      getNotifier(ANode()).build();
    13251325      getNotifier(BNode()).build();
  • lemon/bits/traits.h

    r2290 r2329  
    325325
    326326  template <typename Graph, typename Enable = void>
    327   struct CloneableTagIndicator {
    328     static const bool value = false;
    329   };
    330 
    331   template <typename Graph>
    332   struct CloneableTagIndicator<
    333     Graph,
    334     typename enable_if<typename Graph::CloneableTag, void>::type
     327  struct BuildTagIndicator {
     328    static const bool value = false;
     329  };
     330
     331  template <typename Graph>
     332  struct BuildTagIndicator<
     333    Graph,
     334    typename enable_if<typename Graph::BuildTag, void>::type
    335335  > {
    336336    static const bool value = true;
Note: See TracChangeset for help on using the changeset viewer.