Lines Matching refs:anEdge
40 Edge anEdge;
57 anEdge = *ei;
63 cout << "vertex1: " << anEdge.first << ", vertex2: " << anEdge.second << endl;
65 if (!find_node(nodes, anEdge.first)) {
67 cout << "Making a new vector indexed at: " << anEdge.first << endl;
70 newNode = new Node(anEdge.first);
71 newNode->dests.push_back(anEdge.second);
72 (*nodes)[anEdge.first] = newNode;
75 (*nodes)[anEdge.first]->dests.push_back(anEdge.second);
79 if (!find_node(nodes, anEdge.second)) {
81 cerr << "Making a new vector indexed at: " << anEdge.second << endl;
84 newNode = new Node(anEdge.second);
85 (*nodes)[anEdge.second] = newNode;