| 220 | } |
| 221 | |
| 222 | void |
| 223 | Graph::startAddEdge() { |
| 224 | vertices.clear(); |
| 225 | VertexIter& iter = getVertices(); |
| 226 | Vertex* v = 0; |
| 227 | while ((v = iter()) != 0) { |
| 228 | int tag = v->getTag(); |
| 229 | if (tag >= 0) { |
| 230 | vertices.resize(tag+1); |
| 231 | vertices[tag] = v; |
| 232 | } |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | int |
| 237 | Graph::addEdgeFast(int vertexTag, int otherVertexTag) |
no test coverage detected