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