Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ExtendableGraph Class Reference
[Graph Structure Concepts]

#include <lemon/concept/graph.h>

Inherits StaticGraph.

Inherited by ErasableGraph.

Inheritance diagram for ExtendableGraph:

Inheritance graph
[legend]
List of all members.

Detailed Description

This class provides everything that StaticGraph does. Additionally it enables building graphs from scratch.


Public Member Functions

 ExtendableGraph ()
 Defalult constructor.
Node addNode ()
 Add a new node to the graph.
Edge addEdge (Node, Node)
 Add a new edge to the graph.
void clear ()
 Resets the graph.


Constructor & Destructor Documentation

ExtendableGraph  )  [inline]
 

Defalult constructor.


Member Function Documentation

Node addNode  )  [inline]
 

Returns:
the new node.

Edge addEdge Node  ,
Node 
[inline]
 

Add a new edge to the graph with source node s and target node t.

Returns:
the new edge.

void clear  )  [inline]
 

This function deletes all edges and nodes of the graph. It also frees the memory allocated to store them.

Todo:
It might belong to ErasableGraph.


The documentation for this class was generated from the following file:
Generated on Sat Aug 27 14:16:38 2005 for LEMON by  doxygen 1.4.4