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

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

#include <ensemble.hpp>

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

double mu
 Chemical Potential.


Detailed Description

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

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

The grand-canonical pseudo ensemble for graphs consists of all graphs with a fixed number of vertices. The used elementary update is random link addition/removal.

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