graphgen::shape::noselflinks< W > Struct Template Reference
[global shape restriction]

Restriction functor proposes local updates to ensemble classes, preserving the ensemble of multi-link degenerate graphs. More...

#include <ensemble.hpp>

List of all members.

Public Member Functions

bool operator() (const undirected_graph &G)
 Validate shape of graph.
bool operator() (canonical< W, shape::noselflinks > &ensemble)
 propose link switch update, avoidign self links
bool operator() (microcanonical< W, shape::noselflinks > &ensemble)
 propose X-move preserving the multi-link graph subset
bool operator() (grandcanonical< W, shape::noselflinks > &ensemble)
 propose link add/remove preserving multi-link graph subset

Static Public Attributes

static const bool restrict_tree = false
 static identification of shape
static const bool restrict_simple = false
 static identification of shape
static const bool allow_multi = true
 static identification of shape
static const bool allow_self = false
 static identification of shape


Detailed Description

template<class W>
struct graphgen::shape::noselflinks< W >

Restriction functor proposes local updates to ensemble classes, preserving the ensemble of multi-link degenerate graphs.

Multiple links are allowd, self links are now.


Member Function Documentation

template<class W>
bool graphgen::shape::noselflinks< W >::operator() ( const undirected_graph G  ) 

Validate shape of graph.

Returns true if G is a multi graph, otherwise false

template<class W>
bool graphgen::shape::noselflinks< W >::operator() ( canonical< W, shape::noselflinks< W > > &  ensemble  )  [inline]

template<class W>
bool graphgen::shape::noselflinks< W >::operator() ( microcanonical< W, shape::noselflinks< W > > &  ensemble  )  [inline]


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

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