Package de.uka.ipd.sdq.probfunction.math
Interface IContinousPDFFactory
- All Known Subinterfaces:
IPDFFactory
- All Known Implementing Classes:
PDFFactory
public interface IContinousPDFFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateChiSquareDistribution(int degreesOfFreedom) Creates a new chi-square distribution with the specified parameter.createExponentialDistribution(double rate) Creates a new ExponentialDistribution for doing math.createGammaDistribution(double alpha, double theta) Creates a new GammaDistribution for doing math.createGammaDistributionFromMoments(double mean, double coeffVar) Creates a new GammaDistribution for doing math.createLognormalDistribution(double mu, double sigma) Creates a new LognormalDistribution for doing math.createLognormalDistributionFromMoments(double mean, double variance) Creates a new LognormalDistribution for doing math.createNormalDistribution(double mu, double sigma) Creates a new NormalDistribution for doing math.createStudentTDistribution(int degreesOfFreedom) Creates a new student's t-distribution with the specified parameter.createUniformDistribution(double a, double b) Creates a new UniformDistribution for doing math.
-
Method Details
-
createExponentialDistribution
Creates a new ExponentialDistribution for doing math.- Parameters:
rate- The rate parameter- Returns:
- The distribution
-
createGammaDistribution
Creates a new GammaDistribution for doing math.- Parameters:
alpha- The alpha valuetheta- The theta value- Returns:
- The distribution
-
createGammaDistributionFromMoments
Creates a new GammaDistribution for doing math.- Parameters:
mean- The mean valuecoeffVar- The coeffVar value- Returns:
- The distribution
-
createLognormalDistribution
Creates a new LognormalDistribution for doing math.- Parameters:
mu- The mean valuesigma- The standard deviation- Returns:
- The distribution
-
createLognormalDistributionFromMoments
Creates a new LognormalDistribution for doing math.- Parameters:
mean- The mean valuevariance- The variance value- Returns:
- The distribution
-
createNormalDistribution
Creates a new NormalDistribution for doing math.- Parameters:
mu- The mean valuesigma- The standard deviation- Returns:
- The distribution
-
createUniformDistribution
Creates a new UniformDistribution for doing math.- Parameters:
a- The a valueb- The b value- Returns:
- The distribution
-
createChiSquareDistribution
Creates a new chi-square distribution with the specified parameter.- Parameters:
degreesOfFreedom- the degrees of freedom- Returns:
- the distribution
-
createStudentTDistribution
Creates a new student's t-distribution with the specified parameter.- Parameters:
degreesOfFreedom- the degrees of freedom- Returns:
- the distribution
-