ensemble specific update routines and rate calculation


Classes

class  graphgen::ensemble_base< W, S >
 Ensemble base class, defines generic typedefs, data fields, access methods for all ensemble classes. More...
class  graphgen::canonical< W, R >
 Ensemble class to sample graphs from the canonical statistical pseudo ensemble. More...
class  graphgen::microcanonical< W, R >
 Ensemble class to sample graphs from the micro-canonical statistical pseudo ensemble. More...
class  graphgen::grandcanonical< W, R >
 Ensemble class to sample graphs from the grand-canonical statistical pseudo ensemble. More...
class  graphgen::Ratio< R >
 Ratio functor calculates the appropriate weight ratio for a proposed local update. More...

Functions

template<value_type::weight_value_type WV, template< value_type::weight_value_type WV >class W>
double graphgen::graph_weight (const undirected_graph &graph, const W< WV > &weight)
 Total graph weight function calculates the total (functional and configuration space measure) weight of a graph.
template<value_type::weight_value_type WV>
double graphgen::graph_weight (const undirected_graph &graph, const vertex_weight< WV > &weight)
 partial specialization graph_weight< WV,vertex_weight<WV> >
template<value_type::weight_value_type WV>
double graphgen::graph_weight (const undirected_graph &graph, const link_weight< WV > &weight)
 partial specialization graph_weight< WV,link_weight<WV> >

Function Documentation

template<value_type::weight_value_type WV>
double graphgen::graph_weight ( const undirected_graph &  graph,
const link_weight< WV > &  weight 
) [inline]

partial specialization graph_weight< WV,link_weight<WV> >

weights with two point functional weights

weights with two point functional weights

References graphgen::undirected_graph::degree(), graphgen::undirected_graph::source(), graphgen::undirected_graph::target(), and graphgen::link_weight< WV >::weight().

Referenced by crosscheck_rates_weights().

template<value_type::weight_value_type WV, template< value_type::weight_value_type WV >class W>
double graphgen::graph_weight ( const undirected_graph &  graph,
const W< WV > &  weight 
) [inline]

Total graph weight function calculates the total (functional and configuration space measure) weight of a graph.

This can be used for testing purposes comparing against cumulated relative weights.

Template Parameters:
W The template must be specialized to the weight type actually used. For implementations for vertex and link weights see below
Parameters:
graph graph to calculate total weight for
weight functional weight function to use
Returns:
total weight of graph calculated using weight. If weight is logarithmic, the result is the logarithm of the total weigh


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