Instance methods operate on a user supplied uniform random number generator; they are unsynchronized.
@author wolfgang.hoschek@cern.ch @version 1.0, 09/24/99
210211212213214215216217218219220221222
logger.debug("Request new uniform distribution with generator " + engine); } // LOGGING -> Uniform uniform = null; if (logger.isDebugEnabled()) { uniform = new UUniformDistributionController(engine); } else { uniform = new Uniform(engine); } return uniform; }
234235236237238239240241242
invalidateDistributions(); generators.put(null, new MersenneTwister(seed)); if (logger.isDebugEnabled()) { distributions.put(UNIFORM_DEFAULT, new UUniformDistributionController(generators.get(null))); } else { distributions.put(UNIFORM_DEFAULT, new Uniform(generators.get(null))); } }