lemon/static_graph.h
changeset 2346 c06a956a92fa
parent 2293 1ee6e8788cc7
child 2391 14a343be7a5a
equal deleted inserted replaced
0:1657fecfd675 1:b535d9374bb3
   120       const NodeRefMap& nodeRef;
   120       const NodeRefMap& nodeRef;
   121     };
   121     };
   122     
   122     
   123   public:
   123   public:
   124 
   124 
   125     typedef True CloneableTag;
   125     typedef True BuildTag;
   126     
   126     
   127     template <typename Graph, typename NodeRefMap, typename EdgeRefMap>
   127     template <typename Graph, typename NodeRefMap, typename EdgeRefMap>
   128     void clone(const Graph& graph, NodeRefMap& nodeRef, EdgeRefMap& edgeRef) {
   128     void build(const Graph& graph, NodeRefMap& nodeRef, EdgeRefMap& edgeRef) {
   129 
   129 
   130       if (node_num != -1) {
   130       if (node_num != -1) {
   131         delete[] node_first_out;
   131         delete[] node_first_out;
   132         delete[] node_first_in;
   132         delete[] node_first_in;
   133         delete[] edge_source;
   133         delete[] edge_source;