@@ -0,0 +1,505 @@
+package com.github.rnowling.bps.datagenerator.algorithms.samplers;%0A%0Aimport java.util.Random;%0A%0Aimport com.github.rnowling.bps.datagenerator.SeedFactory;%0A%0Apublic class GaussianSampler implements Sampler%3CDouble%3E%0A%7B%0A%09double mean;%0A%09double var;%0A%09Random rng;%0A%09%0A%09public GaussianSampler(double mean, double var, SeedFactory seedFactory)%0A%09%7B%0A%09%09rng = new Random(seedFactory.getNextSeed());%0A%09%09this.mean = mean;%0A%09%09this.var = var;%0A%09%7D%0A%09%0A%09public Double sample()%0A%09%7B%0A%09%09return rng.nextGaussian() * Math.sqrt(var) + mean;%0A%09%7D%0A%7D%0A

Add Gaussian sampler