Class DistributionGenerator

  • All Implemented Interfaces:
    Generator

    public class DistributionGenerator
    extends AbstractGenerator
    Generates a synthetic network for a given out- and (optionally) in-degree distribution.
    Author:
    Matthias Broecheler (me@matthiasb.com), Stephen Mallette (http://stephen.genoprime.com)
    • Method Detail

      • generate

        public int generate()
        Description copied from interface: Generator
        Generate the elements in the graph given the nature of the implementation and return the number of edges generated as a result.
        Returns:
        number of edges generated