18 #ifndef itkProbabilityDistribution_h 19 #define itkProbabilityDistribution_h 25 #include "ITKStatisticsExport.h" 96 itkGetConstReferenceMacro(Parameters, ParametersType);
101 virtual void SetParameters(
const ParametersType & params);
105 virtual double EvaluatePDF(
double x)
const = 0;
110 virtual double EvaluatePDF(
double x,
const ParametersType &)
const = 0;
115 virtual double EvaluateCDF(
double x)
const = 0;
120 virtual double EvaluateCDF(
double x,
const ParametersType &)
const = 0;
126 virtual double EvaluateInverseCDF(
double p)
const = 0;
132 virtual double EvaluateInverseCDF(
double p,
const ParametersType &)
const = 0;
135 virtual bool HasMean()
const = 0;
138 virtual bool HasVariance()
const = 0;
142 virtual double GetMean()
const = 0;
146 virtual double GetVariance()
const = 0;
151 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
157 void operator=(const Self &) ITK_DELETE_FUNCTION;
ProbabilityDistribution class defines common interface for statistical distributions (pdfs...
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
unsigned long SizeValueType
ParametersType m_Parameters
Control indentation during Print() invocation.
Base class for most ITK classes.
ProbabilityDistribution Self
Array< double > ParametersType