drcl.util.random
Class ParetoDistribution
java.lang.Object
drcl.DrclObj
drcl.util.random.RandomNumberGenerator
drcl.util.random.ParetoDistribution
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectDuplicable, java.io.Serializable
- public class ParetoDistribution
- extends RandomNumberGenerator
This class implements a pareto distribution.
Parameters: scale, shape
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParetoDistribution
public ParetoDistribution(double scale_,
double shape_)
ParetoDistribution
public ParetoDistribution(double scale_,
double shape_,
long seed_)
ParetoDistribution
public ParetoDistribution()
ParetoDistribution
public ParetoDistribution(long seed_)
getName
public java.lang.String getName()
- Specified by:
getName in class RandomNumberGenerator
nextDouble
public double nextDouble()
- Specified by:
nextDouble in class RandomNumberGenerator
nextInt
public int nextInt()
- Specified by:
nextInt in class RandomNumberGenerator
nextLong
public long nextLong()
- Specified by:
nextLong in class RandomNumberGenerator
setScale
public void setScale(double scale_)
getScale
public double getScale()
setShape
public void setShape(double shape_)
getShape
public double getShape()
info
public java.lang.String info(java.lang.String prefix_)
- Overrides:
info in class RandomNumberGenerator
oneline
public java.lang.String oneline()
- Overrides:
oneline in class RandomNumberGenerator
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~