VTK
vtkContingencyStatistics.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkContingencyStatistics.h
5 
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. 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  -------------------------------------------------------------------------*/
48 #ifndef vtkContingencyStatistics_h
49 #define vtkContingencyStatistics_h
50 
51 #include "vtkFiltersStatisticsModule.h" // For export macro
52 #include "vtkStatisticsAlgorithm.h"
53 
55 class vtkStringArray;
56 class vtkTable;
57 class vtkVariant;
58 class vtkIdTypeArray;
59 class vtkDoubleArray;
60 
62 {
63 public:
65  void PrintSelf(ostream& os, vtkIndent indent);
66  static vtkContingencyStatistics* New();
67 
69 
72  vtkMultiBlockDataSet* ) { return; };
74 
75 protected:
78 
80 
81  virtual void Learn( vtkTable*,
82  vtkTable*,
85 
87  virtual void Derive( vtkMultiBlockDataSet* );
88 
90 
91  virtual void Test( vtkTable*,
93  vtkTable* );
95 
97 
98  virtual void Assess( vtkTable*,
100  vtkTable* );
101 //BTX
103 
105  virtual void CalculatePValues(vtkTable*);
106 
107 //BTX
109 
112  virtual void SelectAssessFunctor( vtkTable* outData,
113  vtkDataObject* inMeta,
114  vtkStringArray* rowNames,
115  AssessFunctor*& dfunc );
117 
118 
120  virtual void SelectAssessFunctor( vtkTable* outData,
121  vtkMultiBlockDataSet* inMeta,
122  vtkIdType pairKey,
123  vtkStringArray* rowNames,
124  AssessFunctor*& dfunc );
125 //ETX
127 
128 private:
129  vtkContingencyStatistics(const vtkContingencyStatistics&); // Not implemented
130  void operator=(const vtkContingencyStatistics&); // Not implemented
131 };
132 
133 #endif
134 
A class for bivariate correlation contigency tables, conditional probabilities, and information entro...
virtual void Assess(vtkTable *, vtkMultiBlockDataSet *, vtkTable *)=0
static vtkTableAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
maintain an unordered list of data objects
virtual void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *)=0
a vtkAbstractArray subclass for strings
dynamic, self-adjusting array of vtkIdType
int vtkIdType
Definition: vtkType.h:247
A atomic type representing the union of many types.
Definition: vtkVariant.h:78
dynamic, self-adjusting array of double
Base class for statistics algorithms.
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *)=0
virtual void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *)
virtual void Derive(vtkMultiBlockDataSet *)=0
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:67
Composite dataset that organizes datasets into blocks.
virtual void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc)=0
#define VTKFILTERSSTATISTICS_EXPORT
general representation of visualization data
Definition: vtkDataObject.h:64