tools
Class Geometric

java.lang.Object
  extended by tools.DistributionSampler
      extended by tools.Geometric

public class Geometric
extends DistributionSampler


Constructor Summary
Geometric(double p)
           
 
Method Summary
static double geometric(double p)
           
 double next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Geometric

public Geometric(double p)
Method Detail

next

public double next()
Specified by:
next in class DistributionSampler

geometric

public static double geometric(double p)