@@ -0,0 +1,500 @@
+package com.github.rnowling.bps.datagenerator.framework.pdfs;%0A%0Apublic class GaussianPDF implements ProbabilityDensityFunction%3CDouble%3E%0A%7B%0A%09private double mean;%0A%09private double std;%0A%09%0A%09public GaussianPDF(double mean, double std)%0A%09%7B%0A%09%09this.mean = mean;%0A%09%09this.std = std;%0A%09%7D%0A%09%0A%09public double probability(Double value)%0A%09%7B%0A%09%09double diff = (mean - value) * (mean - value);%0A%09%09double var = std * std;%0A%09%09double exp = Math.exp(-1.0 * diff / (2.0 * var));%0A%09%09%0A%09%09return exp / (std * Math.sqrt(2.0 * Math.PI));%0A%09%7D%0A%7D%0A

Add Gaussian PDF