VTK  9.2.5
vtkContingencyStatistics.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: Visualization Toolkit
4Module: vtkContingencyStatistics.h
5
6Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7All rights reserved.
8See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10This software is distributed WITHOUT ANY WARRANTY; without even
11the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
15/*-------------------------------------------------------------------------
16 Copyright 2011 Sandia Corporation.
17 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18 the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
46#ifndef vtkContingencyStatistics_h
47#define vtkContingencyStatistics_h
48
49#include "vtkFiltersStatisticsModule.h" // For export macro
51
53class vtkStringArray;
54class vtkTable;
55class vtkVariant;
56class vtkIdTypeArray;
57class vtkDoubleArray;
58
59class VTKFILTERSSTATISTICS_EXPORT vtkContingencyStatistics : public vtkStatisticsAlgorithm
60{
61public:
63 void PrintSelf(ostream& os, vtkIndent indent) override;
65
71
72protected:
75
80
85
90
95
101
107 void SelectAssessFunctor(vtkTable* outData, vtkDataObject* inMeta, vtkStringArray* rowNames,
108 AssessFunctor*& dfunc) override;
113 virtual void SelectAssessFunctor(vtkTable* outData, vtkMultiBlockDataSet* inMeta,
114 vtkIdType pairKey, vtkStringArray* rowNames, AssessFunctor*& dfunc);
115
116private:
118 void operator=(const vtkContingencyStatistics&) = delete;
119};
120
121#endif
A class for bivariate correlation contigency tables, conditional probabilities, and information entro...
virtual void CalculatePValues(vtkTable *)
Calculate p-value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Assess(vtkTable *, vtkMultiBlockDataSet *, vtkTable *) override
Execute the calculations required by the Assess option.
virtual void SelectAssessFunctor(vtkTable *outData, vtkMultiBlockDataSet *inMeta, vtkIdType pairKey, vtkStringArray *rowNames, AssessFunctor *&dfunc)
Provide the appropriate assessment functor.
void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc) override
Provide the appropriate assessment functor.
static vtkContingencyStatistics * New()
void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *) override
Execute the calculations required by the Learn option.
void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *) override
Execute the calculations required by the Test option.
~vtkContingencyStatistics() override
void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *) override
Given a collection of models, calculate aggregate model NB: not implemented.
void Derive(vtkMultiBlockDataSet *) override
Execute the calculations required by the Derive option.
maintain an unordered list of data objects
general representation of visualization data
Definition: vtkDataObject.h:66
dynamic, self-adjusting array of double
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
Definition: vtkIndent.h:40
Composite dataset that organizes datasets into blocks.
A base class for a functor that assesses data.
Base class for statistics algorithms.
a vtkAbstractArray subclass for strings
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:74
A atomic type representing the union of many types.
Definition: vtkVariant.h:70
int vtkIdType
Definition: vtkType.h:332