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

ExtendableSymGraph Class Reference
[Concepts]

#include <lemon/concept/sym_graph.h>

Inheritance diagram for ExtendableSymGraph:

Inheritance graph
[legend]
Collaboration diagram for ExtendableSymGraph:

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 595 of file sym_graph.h.

Public Member Functions

 ExtendableSymGraph ()
 Defalult constructor.
Node addNode ()
 Add a new node to the graph.
SymEdge addEdge (Node h, Node t)
 Add a new edge to the graph.
void clear ()
 Resets the graph.


Constructor & Destructor Documentation

ExtendableSymGraph  )  [inline]
 

Defalult constructor.

Definition at line 602 of file sym_graph.h.


Member Function Documentation

Node addNode  )  [inline]
 

Returns:
the new node.

Definition at line 607 of file sym_graph.h.

SymEdge addEdge Node  h,
Node  t
[inline]
 

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

Returns:
the new edge.

Definition at line 613 of file sym_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 620 of file sym_graph.h.


The documentation for this class was generated from the following file:
Generated on Sat Mar 19 10:59:02 2005 for LEMON by  doxygen 1.4.1