bamboo.util
Class RandomUtil

java.lang.Object
  extended by bamboo.util.RandomUtil
Direct Known Subclasses:
BurstyClient, EcnBitClient, FixedAcceptRateClient, FixedSubmitRateClient

public class RandomUtil
extends Object


Constructor Summary
RandomUtil()
           
 
Method Summary
protected static double random_exponential(double mean, Random rand)
           
protected static double random_gaussian(double mean, double stddev, Random rand)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomUtil

public RandomUtil()
Method Detail

random_exponential

protected static double random_exponential(double mean,
                                           Random rand)

random_gaussian

protected static double random_gaussian(double mean,
                                        double stddev,
                                        Random rand)