ExtendableBpUGraph Class Reference
[Graph Structure Concepts]

#include <lemon/concept/bpugraph.h>

Inherits BpUGraph.

Inherited by ErasableBpUGraph.

Inheritance diagram for ExtendableBpUGraph:

Inheritance graph
[legend]
List of all members.

Detailed Description

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


Public Member Functions

Node addANode ()
 Add a new ANode to the graph.
Node addBNode ()
 Add a new ANode 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 addANode  ) 
 

Add a new ANode to the graph.

Returns:
the new node.

Node addBNode  ) 
 

Add a new ANode to the graph.

Returns:
the new node.

UEdge addEdge const Node &  from,
const Node &  to
 

Add a new undirected edge to the graph. One of the nodes should be ANode and the other should be BNode.

Precondition:
The nodes are not in the same nodeset.
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:43:26 2006 for LEMON by  doxygen 1.4.6