DRCL J-Sim API

drcl.util.random
Class LognormalParetoDistribution

java.lang.Object
  extended bydrcl.DrclObj
      extended bydrcl.util.random.RandomNumberGenerator
          extended bydrcl.util.random.LognormalParetoDistribution
All Implemented Interfaces:
java.lang.Cloneable, ObjectCloneable, ObjectDuplicable, java.io.Serializable

public class LognormalParetoDistribution
extends RandomNumberGenerator

See Also:
Serialized Form

Constructor Summary
LognormalParetoDistribution()
           
LognormalParetoDistribution(double normalMean_, double normalStd_, double cutoff_, double paretoScale_, double paretoShape_)
           
LognormalParetoDistribution(double normalMean_, double normalStd_, double cutoff_, double paretoScale_, double paretoShape_, long normalSeed_, long paretoSeed_)
           
LognormalParetoDistribution(long normalSeed_)
           
 
Method Summary
 double getCutOff()
          Returns the cut-off point in the lognormal distribution.
 java.lang.String getName()
           
 double getNormalMean()
          Returns the "normal" distribution mean for the lognormal distribution.
 double getNormalStd()
          Returns the "normal" distribution std for the lognormal distribution.
 double getParetoScale()
           
 double getParetoShape()
           
 java.lang.String info(java.lang.String prefix_)
           
 double nextDouble()
           
 int nextInt()
           
 long nextLong()
           
 java.lang.String oneline()
           
 void setCutOff(double cutoff_)
          Sets the cut-off point in the lognormal distribution.
 void setNormalMean(double m_)
          Sets the "normal" distribution mean for the lognormal distribution.
 void setNormalStd(double std_)
          Sets the "normal" distribution std for the lognormal distribution.
 void setParetoScale(double scale_)
           
 void setParetoShape(double shape_)
           
 
Methods inherited from class drcl.util.random.RandomNumberGenerator
duplicate, getMean, getSeed, getStd, info, reset, setSeed, toString
 
Methods inherited from class drcl.DrclObj
clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LognormalParetoDistribution

public LognormalParetoDistribution()

LognormalParetoDistribution

public LognormalParetoDistribution(long normalSeed_)

LognormalParetoDistribution

public LognormalParetoDistribution(double normalMean_,
                                   double normalStd_,
                                   double cutoff_,
                                   double paretoScale_,
                                   double paretoShape_)

LognormalParetoDistribution

public LognormalParetoDistribution(double normalMean_,
                                   double normalStd_,
                                   double cutoff_,
                                   double paretoScale_,
                                   double paretoShape_,
                                   long normalSeed_,
                                   long paretoSeed_)
Method Detail

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

setNormalMean

public void setNormalMean(double m_)
Sets the "normal" distribution mean for the lognormal distribution.


getNormalMean

public double getNormalMean()
Returns the "normal" distribution mean for the lognormal distribution.


setNormalStd

public void setNormalStd(double std_)
Sets the "normal" distribution std for the lognormal distribution.


getNormalStd

public double getNormalStd()
Returns the "normal" distribution std for the lognormal distribution.


setCutOff

public void setCutOff(double cutoff_)
Sets the cut-off point in the lognormal distribution.


getCutOff

public double getCutOff()
Returns the cut-off point in the lognormal distribution.


setParetoScale

public void setParetoScale(double scale_)

getParetoScale

public double getParetoScale()

setParetoShape

public void setParetoShape(double shape_)

getParetoShape

public double getParetoShape()

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

DRCL J-Sim API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~