test/graph_copy_test.cc
changeset 2357 5365600a7a5c
parent 2290 f30867b359a8
child 2391 14a343be7a5a
equal deleted inserted replaced
0:7f7ad5eea936 1:2618d9d00343
    86   SmartUGraph::UEdgeMap<int> suem(source);
    86   SmartUGraph::UEdgeMap<int> suem(source);
    87   SmartUGraph::Node sn = INVALID;
    87   SmartUGraph::Node sn = INVALID;
    88   SmartUGraph::Edge se = INVALID;
    88   SmartUGraph::Edge se = INVALID;
    89   SmartUGraph::UEdge sue = INVALID;
    89   SmartUGraph::UEdge sue = INVALID;
    90 
    90 
    91   std::vector<SmartGraph::Node> snv;
    91   std::vector<SmartUGraph::Node> snv;
    92   for (int i = 0; i < nn; ++i) {
    92   for (int i = 0; i < nn; ++i) {
    93     SmartUGraph::Node node = source.addNode();
    93     SmartUGraph::Node node = source.addNode();
    94     snv.push_back(node);
    94     snv.push_back(node);
    95     snm[node] = i * i;
    95     snm[node] = i * i;
    96     if (i == 0) sn = node;
    96     if (i == 0) sn = node;