core
Class ParetoRNG

java.lang.Object
  extended by core.ParetoRNG

public class ParetoRNG
extends java.lang.Object

A random number generator for a Pareto distribution


Constructor Summary
ParetoRNG(java.util.Random rng, double k, double minValue, double maxValue)
          Creates a new Pareto random number generator that makes use of a normal random number generator
 
Method Summary
 double getDouble()
          Returns a Pareto distributed double value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParetoRNG

public ParetoRNG(java.util.Random rng,
                 double k,
                 double minValue,
                 double maxValue)
Creates a new Pareto random number generator that makes use of a normal random number generator

Parameters:
rng -
k -
minValue -
maxValue -
Method Detail

getDouble

public double getDouble()
Returns a Pareto distributed double value

Returns:
a Pareto distributed double value