33 #ifndef vtkOrderStatistics_h
34 #define vtkOrderStatistics_h
36 #include "vtkFiltersStatisticsModule.h"
39 VTK_ABI_NAMESPACE_BEGIN
61 InverseCDFAveragedSteps = 1,
62 NearestObservation = 2
69 vtkSetMacro(NumberOfIntervals,
vtkIdType);
70 vtkGetMacro(NumberOfIntervals,
vtkIdType);
77 vtkSetMacro(QuantileDefinition, QuantileDefinitionType);
78 void SetQuantileDefinition(
int);
85 vtkSetMacro(Quantize,
bool);
86 vtkGetMacro(Quantize,
bool);
94 vtkSetMacro(MaximumHistogramSize,
vtkIdType);
95 vtkGetMacro(MaximumHistogramSize,
vtkIdType);
147 this->Superclass::Assess(inData, inMeta, outData, 1);
154 AssessFunctor*& dfunc)
override;
166 VTK_ABI_NAMESPACE_END
a base class for statistical modeling of other data
virtual std::size_t ConsumeNextAlgorithmParameter(vtkStringToken parameterName, const std::string &algorithmParameters)
Consume a single parameter value, setting the value on this instance of the class.
static vtkTableAlgorithm * New()
A class for univariate order statistics.
maintain an unordered list of data objects
virtual void AppendAlgorithmParameters(std::string &algorithmParameters) const
Subclasses must override this method if they have any internal ivars that affect the behavior of Requ...
a vtkAbstractArray subclass for strings
A type representing the union of many types.
virtual void Learn(vtkTable *, vtkTable *, vtkStatisticalModel *)=0
Execute the calculations required by the Learn option, given some input Data.
Base class for statistics algorithms.
a simple class to control print indentation
virtual void Derive(vtkStatisticalModel *)=0
Execute the calculations required by the Derive option.
Represent a string by its integer hash.
QuantileDefinitionType
The type of quantile definition.
vtkIdType MaximumHistogramSize
virtual void Test(vtkTable *, vtkStatisticalModel *, vtkTable *)=0
Execute the calculations required by the Test option.
A table, which contains similar-typed columns of data.
virtual bool SetParameter(const char *parameter, int index, vtkVariant value)
A convenience method (in particular for access from other applications) to set parameter values of Le...
virtual void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc)=0
A pure virtual method to select the appropriate assessment functor.
QuantileDefinitionType QuantileDefinition
general representation of visualization data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetMaximumNumberOfColumnsPerRequest() const override
Order statistics requests are univariate.
vtkIdType NumberOfIntervals
vtkIdType GetQuantileDefinition()
Get the quantile definition.
void Assess(vtkTable *inData, vtkStatisticalModel *inMeta, vtkTable *outData) override
Execute the calculations required by the Assess option.
bool Aggregate(vtkDataObjectCollection *, vtkStatisticalModel *) override
Given a collection of models, calculate aggregate model NB: not implemented.