commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz" <p...@steitz.com>
Subject [math] More data generation utilities
Date Wed, 21 May 2003 13:11:46 GMT
I have just submitted a couple more data generation utilities here:

http://issues.apache.org/bugzilla/show_bug.cgi?id=20112

EmpiricalDistribution -- represents an empirical probability 
distribution and supports generation of data values that are "like" 
values in an input file without making any assumptions about the 
functional form of the probability distribution that the data come from. 
   This is useful in simulation applications where historical data about 
component performance are available but do not follow standard 
distributions (or any application that requires random data generation 
from an empirical distribution). Also generates data for grouped 
frequency histograms based on the input file.

ValueServer -- a wrapper for RandomData and EmpiricalDistribution that 
generates values in each of the following modes:
   * DIGEST_MODE -- uses an empirical distribution
   * REPLAY_MODE -- replays data from an input file
   * UNIFORM_MODE -- generates uniformly distributed random values
   * EXPONENTIAL_MODE -- generates exponentially distributed random
                         values
   * GAUSSIAN_MODE -- generates Gaussian distributed random values
   * CONSTANT_MODE -- returns the same value every time.

Phil


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message