#include <ensemble.hpp>

Public Types | |
| typedef W | weight_type |
| typedef R< W > | restriction_set |
Public Member Functions | |
| canonical (undirected_graph &g, W &w) | |
| const undirected_graph & | get_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. | |
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.
| W | selects the functional weight type | |
| R | selects a shape restriction functor, restricting the sampled graph set |
1.5.6