public static int getValue(final Random random, final double multiplier, final double beta) {
        return (int) Math.round(multiplier * (Math.pow(1.0 / (1.0 - random.nextDouble()), 1.0 / (beta - 1.0)) - 1.0));
    }
Constructs a new scale-free distribution for the provided gamma value.
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/algorithm/generator/PowerLawDistribution.java