EdgeAdder< GraphType > Class Template Reference

Auxiliary class for adding edges to a graph. More...

#include <attractor.h>

List of all members.

Public Member Functions

 EdgeAdder (GraphType &graph)
 The only allowed constructor of an edge adder object.
void add (int edge)
 Adds an edge to the graph.

Private Attributes

GraphType & g
 A reference to the graph to which the vertices are to be added.


Detailed Description

template<class GraphType>
class EdgeAdder< GraphType >

Auxiliary class for adding edges to a graph.

Definition at line 55 of file attractor.h.


Constructor & Destructor Documentation

template<class GraphType>
EdgeAdder< GraphType >::EdgeAdder ( GraphType &  graph  )  [inline]

The only allowed constructor of an edge adder object.

Definition at line 59 of file attractor.h.


Member Function Documentation

template<class GraphType>
void EdgeAdder< GraphType >::add ( int  edge  )  [inline]

Adds an edge to the graph.

Definition at line 62 of file attractor.h.

References EdgeAdder< GraphType >::g.


Member Data Documentation

template<class GraphType>
GraphType& EdgeAdder< GraphType >::g [private]

A reference to the graph to which the vertices are to be added.

Definition at line 67 of file attractor.h.

Referenced by EdgeAdder< GraphType >::add().


The documentation for this class was generated from the following file:
Generated on Mon Apr 12 15:09:57 2010 for The Finite Resolution Dynamics Software by  doxygen 1.5.3