... | ... |
@@ -309,10 +309,10 @@ |
309 | 309 |
/// The directed arc type. |
310 | 310 |
|
311 | 311 |
/// The directed arc type. It can be converted to the |
312 | 312 |
/// edge or it should be inherited from the undirected |
313 |
/// arc. |
|
314 |
class Arc : public Edge { |
|
313 |
/// edge. |
|
314 |
class Arc { |
|
315 | 315 |
public: |
316 | 316 |
/// Default constructor |
317 | 317 |
|
318 | 318 |
/// @warning The default constructor sets the iterator |
... | ... |
@@ -321,9 +321,9 @@ |
321 | 321 |
/// Copy constructor. |
322 | 322 |
|
323 | 323 |
/// Copy constructor. |
324 | 324 |
/// |
325 |
Arc(const Arc& |
|
325 |
Arc(const Arc&) { } |
|
326 | 326 |
/// Initialize the iterator to be invalid. |
327 | 327 |
|
328 | 328 |
/// Initialize the iterator to be invalid. |
329 | 329 |
/// |
... | ... |
@@ -348,8 +348,10 @@ |
348 | 348 |
/// the items; this order has nothing to do with the iteration |
349 | 349 |
/// ordering of the items. |
350 | 350 |
bool operator<(Arc) const { return false; } |
351 | 351 |
|
352 |
/// Converison to Edge |
|
353 |
operator Edge() const { return Edge(); } |
|
352 | 354 |
}; |
353 | 355 |
/// This iterator goes through each directed arc. |
354 | 356 |
|
355 | 357 |
/// This iterator goes through each arc of a graph. |
0 comments (0 inline)