Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

IEditGraph Class Reference

#include <IEditGraph.hpp>

Inheritance diagram for IEditGraph:

Inheritance graph
[legend]

Detailed Description

Interface for an editable graph.


Public Member Functions

 IEditGraph ()
 Constructor.
virtual ~IEditGraph ()
 Destructor.
virtual Node new_node (NodeID id="")=0
 Add a node to the graph.
virtual void del_node (Node n)=0
 Delete a node from the graph and removes all edges adjacent to this node.
virtual Edge new_edge (Node u, Node v, EdgeID id="")=0
 Add an edge to the graph.
virtual void del_edge (Edge e)=0
 Delete an edge from the graph.
virtual void del_edge (Node u, Node v)=0
 Delete a directed (u,v) edge from the graph.


Constructor & Destructor Documentation

IEditGraph  )  [inline]
 

Constructor.

virtual ~IEditGraph  )  [inline, virtual]
 

Destructor.


Member Function Documentation

virtual void del_edge Node  u,
Node  v
[pure virtual]
 

Delete a directed (u,v) edge from the graph.

Implemented in Graph, and ObservableGraph.

virtual void del_edge Edge  e  )  [pure virtual]
 

Delete an edge from the graph.

Implemented in Graph, and ObservableGraph.

virtual void del_node Node  n  )  [pure virtual]
 

Delete a node from the graph and removes all edges adjacent to this node.

Implemented in Graph, and ObservableGraph.

virtual Edge new_edge Node  u,
Node  v,
EdgeID  id = ""
[pure virtual]
 

Add an edge to the graph.

Implemented in Graph, and ObservableGraph.

virtual Node new_node NodeID  id = ""  )  [pure virtual]
 

Add a node to the graph.

Implemented in Graph, and ObservableGraph.


Generated on Sun Nov 5 12:06:26 2006 for Graph by  doxygen 1.4.1