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

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

#include <ensemble.hpp>

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 microcanonical (undirected_graph &g)
 microcanonical (undirected_graph &g, W &w)
const undirected_graphget_graph () const
 access method
const 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.


Detailed Description

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

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

The micro-canonical pseudo ensemble for graphs consists of all graphs with a fixed degree sequence. Therefore, the number of nodes and edges is also fixed. The used elementary update is the X-move, exchanging the targets of two selected links.

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