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>

Inheritance diagram for ExtendableGraph:

Inheritance graph
[legend]
Collaboration diagram for ExtendableGraph:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class provides everything that StaticGraph with additional functionality which enables to build a graph from scratch.

Definition at line 455 of file graph.h.

Public Member Functions

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


Constructor & Destructor Documentation

ExtendableGraph  )  [inline]
 

Defalult constructor.

Definition at line 462 of file graph.h.


Member Function Documentation

Node addNode  )  [inline]
 

Returns:
the new node.

Definition at line 467 of file graph.h.

Edge addEdge Node  s,
Node  t
[inline]
 

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

Returns:
the new edge.

Definition at line 473 of file graph.h.

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.

Definition at line 480 of file graph.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 21 15:02:39 2005 for LEMON by  doxygen 1.4.1