Skip to content

Distribution

okram edited this page Dec 6, 2012 · 1 revision

A distribution is required by most synthetic network generators to draw values from during the generation, such as the degree distribution of vertices in Degree Distribution Generator or the size of communities in Community Generator.

Blueprints currently contains the following distributions. By implementing the Distribution interface, the user can define arbitrary distributions to be used with a generator. Please see the JavaDoc for more information on the Distribution interface.

Normal Distribution

NormalDistribution generates values according to a normal distribution. The standard deviation of the distribution is configured through the constructor.

Power Law Distribution

PowerLawDistribution generates values according to a power law which characterizes the degree distribution found in scale-free networks. The gamma value of the distribution is configured through the constructor.

Clone this wiki locally