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

Restriction functor proposes local updates to ensemble classes without any restrictions. 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::multigraph > &ensemble)
 propose T-move with no restrictions
bool operator() (microcanonical< W, shape::multigraph > &ensemble)
 propose X-move with no restrictions
bool operator() (grandcanonical< W, shape::multigraph > &ensemble)
 propose link addition/removal with no restrictions

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 = true
 static identification of shape


Detailed Description

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

Restriction functor proposes local updates to ensemble classes without any restrictions.

Multiple and self links are allowed.


Member Function Documentation

template<class W>
bool graphgen::shape::multigraph< 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::multigraph< W >::operator() ( canonical< W, shape::multigraph< W > > &  ensemble  )  [inline]

template<class W>
bool graphgen::shape::multigraph< W >::operator() ( microcanonical< W, shape::multigraph< 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