graphgen::canonical< W, R > Class Template Reference
[ensemble specific update routines and rate calculation]

Ensemble class to sample graphs from the canonical statistical pseudo ensemble. More...

#include <ensemble.hpp>

Collaboration diagram for graphgen::canonical< W, R >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef W weight_type
typedef R< W > restriction_set

Public Member Functions

 canonical (undirected_graph &g, W &w)
const undirected_graphget_graph () const
 access method
const weight_type & get_weight () const
const W & set_weight (W &w)
 access method
double update ()
 Run a single local Metropolis update process.
void sweep (int n=0)
 Run a series of
local updates.


Detailed Description

template<class W, template< class W > class R>
class graphgen::canonical< W, R >

Ensemble class to sample graphs from the canonical statistical pseudo ensemble.

The canonical pseudo ensemble for graphs consists of all graphs with a fixed number of vertices and edges. The used elementary update is the T-move, switching an undirected link from it's target to a new random target.

Parameters:
W selects the functional weight type
R selects a shape restriction functor, restricting the sampled graph set

The documentation for this class was generated from the following file:

Generated on Wed Jun 2 14:49:09 2010 for GraphGen by  doxygen 1.5.6