#include <estimate.hpp>
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. |
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.
histint graphgen::distancedist::operator[] | ( | unsigned int | d | ) | [inline] |
Access histogram directly.
No Bounds checking