equal
deleted
inserted
replaced
454 |
454 |
455 /// Resets the graph. |
455 /// Resets the graph. |
456 |
456 |
457 /// This function deletes all edges and nodes of the graph. |
457 /// This function deletes all edges and nodes of the graph. |
458 /// It also frees the memory allocated to store them. |
458 /// It also frees the memory allocated to store them. |
459 /// \todo It might belong to \c EraseableGraphSkeleton. |
459 /// \todo It might belong to \c ErasableGraphSkeleton. |
460 void clear() { } |
460 void clear() { } |
461 }; |
461 }; |
462 |
462 |
463 /// An empty eraseable graph class. |
463 /// An empty erasable graph class. |
464 |
464 |
465 /// This class is an extension of \c GraphSkeleton. It also makes it |
465 /// This class is an extension of \c GraphSkeleton. It also makes it |
466 /// possible to erase edges or nodes. |
466 /// possible to erase edges or nodes. |
467 class EraseableGraphSkeleton : public GraphSkeleton |
467 class ErasableGraphSkeleton : public GraphSkeleton |
468 { |
468 { |
469 public: |
469 public: |
470 /// Defalult constructor. |
470 /// Defalult constructor. |
471 |
471 |
472 /// Defalult constructor. |
472 /// Defalult constructor. |
473 /// |
473 /// |
474 EraseableGraphSkeleton() { } |
474 ErasableGraphSkeleton() { } |
475 /// Deletes a node. |
475 /// Deletes a node. |
476 |
476 |
477 /// Deletes node \c n node. |
477 /// Deletes node \c n node. |
478 /// |
478 /// |
479 void erase(Node n) { } |
479 void erase(Node n) { } |