@Test public void testSeedConsidering() { GaussRandomProducer producer1 = new GaussRandomProducer(0L); GaussRandomProducer producer2 = new GaussRandomProducer(0L); assertEquals(producer1.get(), producer2.get(), 0.0001); }
@Override public Double get() { return mean + generator().nextGaussian() * Math.sqrt(variance); }
GaussRandomProducer extends RandomProducerWithGenerator { @Override public Double get() { return mean + generator().nextGaussian() * Math.sqrt(variance); } }
GaussRandomProducer extends RandomProducerWithGenerator { @Override public Double get() { return mean + generator().nextGaussian() * Math.sqrt(variance); } GaussRandomProducer();  GaussRandomProducer(long seed);  GaussRandomProducer(double mean, double variance);  GaussRandomProducer(double mean, double variance, long seed); }
GaussRandomProducer extends RandomProducerWithGenerator { @Override public Double get() { return mean + generator().nextGaussian() * Math.sqrt(variance); } GaussRandomProducer();  GaussRandomProducer(long seed);  GaussRandomProducer(double mean, double variance);  GaussRandomProducer(double mean, double variance, long seed); @Override Double get(); }
GaussRandomProducer extends RandomProducerWithGenerator { @Override public Double get() { return mean + generator().nextGaussian() * Math.sqrt(variance); } GaussRandomProducer();  GaussRandomProducer(long seed);  GaussRandomProducer(double mean, double variance);  GaussRandomProducer(double mean, double variance, long seed); @Override Double get();  }