J-Sim v1.2.1-p7 API

drcl.util.random
Class ExponentialDistribution

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

public class ExponentialDistribution
extends RandomNumberGenerator

See Also:
Serialized Form

Field Summary
 
Fields inherited from class drcl.util.random.RandomNumberGenerator
r, seed
 
Constructor Summary
ExponentialDistribution()
           
ExponentialDistribution(double rate_)
           
ExponentialDistribution(double rate_, long seed_)
           
ExponentialDistribution(long seed_)
           
 
Method Summary
 java.lang.String getName()
           
 double getRate()
           
 java.lang.String info(java.lang.String prefix_)
           
 double nextDouble()
           
 int nextInt()
           
 long nextLong()
           
 java.lang.String oneline()
           
 void setRate(double rate_)
           
 
Methods inherited from class drcl.util.random.RandomNumberGenerator
duplicate, getSeed, info, reset, setSeed, toString
 
Methods inherited from class drcl.DrclObj
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExponentialDistribution

public ExponentialDistribution(double rate_)

ExponentialDistribution

public ExponentialDistribution(double rate_,
                               long seed_)

ExponentialDistribution

public ExponentialDistribution()

ExponentialDistribution

public ExponentialDistribution(long seed_)
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

setRate

public void setRate(double rate_)

getRate

public double getRate()

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

J-Sim v1.2.1-p7 API

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