-
Notifications
You must be signed in to change notification settings - Fork 0
Distribution
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.
NormalDistribution
generates values according to a normal distribution. The standard deviation of the distribution is configured through the constructor.
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.