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