| ... | ... |
@@ -555,13 +555,13 @@ |
| 555 | 555 |
nodes.push_back(NodeT()); |
| 556 | 556 |
nodes[n].first_out = -1; |
| 557 | 557 |
|
| 558 | 558 |
return Node(n); |
| 559 | 559 |
} |
| 560 | 560 |
|
| 561 |
Edge |
|
| 561 |
Edge addEdge(Node u, Node v) {
|
|
| 562 | 562 |
int n = arcs.size(); |
| 563 | 563 |
arcs.push_back(ArcT()); |
| 564 | 564 |
arcs.push_back(ArcT()); |
| 565 | 565 |
|
| 566 | 566 |
arcs[n].target = u._id; |
| 567 | 567 |
arcs[n | 1].target = v._id; |
| ... | ... |
@@ -636,13 +636,13 @@ |
| 636 | 636 |
///Add a new edge to the graph. |
| 637 | 637 |
|
| 638 | 638 |
///Add a new edge to the graph with node \c s |
| 639 | 639 |
///and \c t. |
| 640 | 640 |
///\return the new edge. |
| 641 | 641 |
Edge addEdge(const Node& s, const Node& t) {
|
| 642 |
return Parent:: |
|
| 642 |
return Parent::addEdge(s, t); |
|
| 643 | 643 |
} |
| 644 | 644 |
|
| 645 | 645 |
///Clear the graph. |
| 646 | 646 |
|
| 647 | 647 |
///Erase all the nodes and edges from the graph. |
| 648 | 648 |
/// |
0 comments (0 inline)