Package de.uka.ipd.sdq.probfunction.math
Class ManagedPDF
- java.lang.Object
-
- de.uka.ipd.sdq.probfunction.math.ManagedPDF
-
public class ManagedPDF extends Object
To be continued...
-
-
Constructor Summary
Constructors Constructor Description ManagedPDF(double distance, List<Double> values, IUnit unit, boolean useConfiguration)
ManagedPDF(IProbabilityDensityFunction pdf)
ManagedPDF(IProbabilityDensityFunction pdf, boolean useConfiguration)
ManagedPDF(ProbabilityDensityFunction pdf)
ManagedPDF(ProbabilityDensityFunction pdf, boolean useConfiguration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
adjustPDF(double distance, int size)
Object
clone()
static ManagedPDF
createDiracImpulse()
static ManagedPDF
createFromString(String spec)
static ManagedPDF
createImpulseAt(int pos)
static ManagedPDF
createZeroFunction()
IBoxedPDF
getBoxedPdfTimeDomain()
ISamplePDF
getCumulativeDistributionFunction()
double
getExpectedValue()
double
getMeanValue()
BoxedPDF
getModelBoxedPdf()
ProbabilityDensityFunction
getModelPdf()
SamplePDF
getModelSamplePDF()
IProbabilityDensityFunction
getPdfFrequencyDomain()
IProbabilityDensityFunction
getPdfTimeDomain()
ISamplePDF
getSamplePdfFrequencyDomain()
ISamplePDF
getSamplePdfTimeDomain()
boolean
isComplete()
double
probEquals(ManagedPDF pdf)
double
probGreaterOrEqualThan(ManagedPDF pdf)
double
probGreaterThan(ManagedPDF pdf)
double
probLessThan(ManagedPDF pdf)
String
toString()
boolean
usesConfiguration()
-
-
-
Constructor Detail
-
ManagedPDF
public ManagedPDF(ProbabilityDensityFunction pdf)
-
ManagedPDF
public ManagedPDF(IProbabilityDensityFunction pdf)
-
ManagedPDF
public ManagedPDF(IProbabilityDensityFunction pdf, boolean useConfiguration)
-
ManagedPDF
public ManagedPDF(ProbabilityDensityFunction pdf, boolean useConfiguration)
-
-
Method Detail
-
getPdfTimeDomain
public IProbabilityDensityFunction getPdfTimeDomain()
-
getBoxedPdfTimeDomain
public IBoxedPDF getBoxedPdfTimeDomain()
-
getSamplePdfTimeDomain
public ISamplePDF getSamplePdfTimeDomain()
-
getSamplePdfFrequencyDomain
public ISamplePDF getSamplePdfFrequencyDomain()
-
getPdfFrequencyDomain
public IProbabilityDensityFunction getPdfFrequencyDomain()
-
getModelPdf
public ProbabilityDensityFunction getModelPdf()
-
isComplete
public boolean isComplete()
-
createDiracImpulse
public static ManagedPDF createDiracImpulse() throws ConfigurationNotSetException
- Throws:
ConfigurationNotSetException
-
createImpulseAt
public static ManagedPDF createImpulseAt(int pos) throws ConfigurationNotSetException
- Throws:
ConfigurationNotSetException
-
createZeroFunction
public static ManagedPDF createZeroFunction() throws ConfigurationNotSetException
- Throws:
ConfigurationNotSetException
-
getModelBoxedPdf
public BoxedPDF getModelBoxedPdf()
-
getModelSamplePDF
public SamplePDF getModelSamplePDF()
-
getMeanValue
public double getMeanValue()
-
getExpectedValue
public double getExpectedValue()
-
getCumulativeDistributionFunction
public ISamplePDF getCumulativeDistributionFunction()
-
probEquals
public double probEquals(ManagedPDF pdf)
-
probGreaterThan
public double probGreaterThan(ManagedPDF pdf)
-
probGreaterOrEqualThan
public double probGreaterOrEqualThan(ManagedPDF pdf)
-
probLessThan
public double probLessThan(ManagedPDF pdf)
-
adjustPDF
public void adjustPDF(double distance, int size)
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
usesConfiguration
public boolean usesConfiguration()
-
createFromString
public static ManagedPDF createFromString(String spec) throws org.antlr.runtime.RecognitionException, StringNotPDFException
- Throws:
org.antlr.runtime.RecognitionException
StringNotPDFException
-
-