Biorithm
1.1
|
A class that stores the node deleted (and all the edges incident on it) from a graph. ! More...
#include <graph.C>
Public Member Functions | |
MyGraphNodeDeletion () | |
Default constructor dis-allowed. | |
MyGraphNodeDeletion (const MyNode &node) | |
Constructor. | |
virtual | ~MyGraphNodeDeletion () |
Destructor. | |
virtual MyAbstractGraphModification * | clone () |
Clone yourself. | |
virtual bool | reverse (MyGraph &graph) |
A class that stores the node deleted (and all the edges incident on it) from a graph. !
virtual bool MyGraphNodeDeletion::reverse | ( | MyGraph & | graph | ) | [inline, virtual] |
Reverse the effect of the modification on graph and return true if the reversal succeeded.
Implements MyAbstractGraphModification.