VTK
|
A class for univariate order statistics. More...
#include <vtkOrderStatistics.h>
A class for univariate order statistics.
Given a selection of columns of interest in an input data table, this class provides the following functionalities, depending on the execution mode it is executed in: Learn: calculate histogram. Derive: calculate PDFs and arbitrary quantiles. Provide specific names when 5-point statistics (minimum, 1st quartile, median, third quartile, maximum) requested. Assess: given an input data set and a set of q-quantiles, label each datum either with the quantile interval to which it belongs, or 0 if it is smaller than smaller quantile, or q if it is larger than largest quantile. Test: calculate Kolmogorov-Smirnov goodness-of-fit statistic between CDF based on model quantiles, and empirical CDF
Definition at line 59 of file vtkOrderStatistics.h.
Reimplemented from vtkStatisticsAlgorithm.
Reimplemented in vtkPOrderStatistics.
Definition at line 62 of file vtkOrderStatistics.h.
The type of quantile definition.
Definition at line 69 of file vtkOrderStatistics.h.
vtkOrderStatistics::vtkOrderStatistics | ( | ) | [protected] |
vtkOrderStatistics::~vtkOrderStatistics | ( | ) | [protected] |
static int vtkOrderStatistics::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkStatisticsAlgorithm.
Reimplemented in vtkPOrderStatistics.
virtual int vtkOrderStatistics::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkStatisticsAlgorithm.
Reimplemented in vtkPOrderStatistics.
static vtkOrderStatistics* vtkOrderStatistics::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkStatisticsAlgorithm.
Reimplemented in vtkPOrderStatistics.
virtual vtkObjectBase* vtkOrderStatistics::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkStatisticsAlgorithm.
Reimplemented in vtkPOrderStatistics.
Reimplemented from vtkStatisticsAlgorithm.
Reimplemented in vtkPOrderStatistics.
void vtkOrderStatistics::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkStatisticsAlgorithm.
Reimplemented in vtkPOrderStatistics.
static vtkOrderStatistics* vtkOrderStatistics::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkTableAlgorithm.
Reimplemented in vtkPOrderStatistics.
virtual void vtkOrderStatistics::SetNumberOfIntervals | ( | vtkIdType | ) | [virtual] |
Set/Get the number of quantiles (with uniform spacing).
virtual vtkIdType vtkOrderStatistics::GetNumberOfIntervals | ( | ) | [virtual] |
Set/Get the number of quantiles (with uniform spacing).
virtual void vtkOrderStatistics::SetQuantileDefinition | ( | QuantileDefinitionType | ) | [virtual] |
Set the quantile definition.
Set the quantile definition.
virtual void vtkOrderStatistics::SetQuantize | ( | bool | ) | [virtual] |
Set/Get whether quantization will be allowed to enforce maximum histogram size.
virtual bool vtkOrderStatistics::GetQuantize | ( | ) | [virtual] |
Set/Get whether quantization will be allowed to enforce maximum histogram size.
virtual void vtkOrderStatistics::SetMaximumHistogramSize | ( | vtkIdType | ) | [virtual] |
Set/Get the maximum histogram size. This maximum size is enforced only when Quantize is TRUE.
virtual vtkIdType vtkOrderStatistics::GetMaximumHistogramSize | ( | ) | [virtual] |
Set/Get the maximum histogram size. This maximum size is enforced only when Quantize is TRUE.
vtkIdType vtkOrderStatistics::GetQuantileDefinition | ( | ) | [inline] |
Get the quantile definition.
Definition at line 104 of file vtkOrderStatistics.h.
virtual bool vtkOrderStatistics::SetParameter | ( | const char * | parameter, |
int | index, | ||
vtkVariant | value | ||
) | [virtual] |
A convenience method (in particular for access from other applications) to set parameter values. Return true if setting of requested parameter name was excuted, false otherwise.
Reimplemented from vtkStatisticsAlgorithm.
virtual void vtkOrderStatistics::Aggregate | ( | vtkDataObjectCollection * | , |
vtkMultiBlockDataSet * | |||
) | [inline, virtual] |
Given a collection of models, calculate aggregate model NB: not implemented
Implements vtkStatisticsAlgorithm.
Definition at line 118 of file vtkOrderStatistics.h.
virtual void vtkOrderStatistics::Learn | ( | vtkTable * | , |
vtkTable * | , | ||
vtkMultiBlockDataSet * | |||
) | [protected, virtual] |
Execute the calculations required by the Learn option.
Implements vtkStatisticsAlgorithm.
Reimplemented in vtkPOrderStatistics.
virtual void vtkOrderStatistics::Derive | ( | vtkMultiBlockDataSet * | ) | [protected, virtual] |
Execute the calculations required by the Derive option.
Implements vtkStatisticsAlgorithm.
virtual void vtkOrderStatistics::Test | ( | vtkTable * | , |
vtkMultiBlockDataSet * | , | ||
vtkTable * | |||
) | [protected, virtual] |
Execute the calculations required by the Test option.
Implements vtkStatisticsAlgorithm.
virtual void vtkOrderStatistics::Assess | ( | vtkTable * | inData, |
vtkMultiBlockDataSet * | inMeta, | ||
vtkTable * | outData | ||
) | [inline, protected, virtual] |
Execute the calculations required by the Assess option.
Implements vtkStatisticsAlgorithm.
Definition at line 145 of file vtkOrderStatistics.h.
virtual void vtkOrderStatistics::SelectAssessFunctor | ( | vtkTable * | outData, |
vtkDataObject * | inMeta, | ||
vtkStringArray * | rowNames, | ||
AssessFunctor *& | dfunc | ||
) | [protected, virtual] |
Provide the appropriate assessment functor.
Implements vtkStatisticsAlgorithm.
int vtkOrderStatistics::NumberOfIntervals [protected] |
Definition at line 161 of file vtkOrderStatistics.h.
Definition at line 162 of file vtkOrderStatistics.h.
bool vtkOrderStatistics::Quantize [protected] |
Definition at line 163 of file vtkOrderStatistics.h.
vtkIdType vtkOrderStatistics::MaximumHistogramSize [protected] |
Definition at line 164 of file vtkOrderStatistics.h.