graphgen::distancedist Class Reference
[Estimate]

Distance distribution estimator. More...

#include <estimate.hpp>

Inheritance diagram for graphgen::distancedist:

Inheritance graph
[legend]
Collaboration diagram for graphgen::distancedist:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 distancedist (int lmax)
 Initialize with histogram for a maximal length lmax.
histint operator[] (unsigned int d)
 Access histogram directly.
void measure (const undirected_graph &graph)
 Measure distances of given graph.


Detailed Description

Distance distribution estimator.

Measures site to site distances using a histogram. At the moment the distance between any two sites is measured twice. TODO measure only some part of the network, for example 10% of the sites, randomly chosen.


Member Function Documentation

histint graphgen::distancedist::operator[] ( unsigned int  d  )  [inline]

Access histogram directly.

No Bounds checking


The documentation for this class was generated from the following files:

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