ExtendableUGraph Class Reference
[Graph Structure Concepts]

#include <lemon/concept/ugraph.h>

Inherits UGraph.

Inherited by ErasableUGraph.

Inheritance diagram for ExtendableUGraph:

Inheritance graph
[legend]
List of all members.

Detailed Description

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


Public Member Functions

Node addNode ()
 Add a new node to the graph.
UEdge addEdge (const Node &from, const Node &to)
 Add a new undirected edge to the graph.
void clear ()
 Resets the graph.


Member Function Documentation

Node addNode  ) 
 

Add a new node to the graph.

Returns:
the new node.

UEdge addEdge const Node &  from,
const Node &  to
 

Add a new undirected edge to the graph.

Returns:
the new edge.

void clear  )  [inline]
 

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


The documentation for this class was generated from the following file:
Generated on Fri Feb 3 18:44:29 2006 for LEMON by  doxygen 1.4.6