ParaView
vtkPSciVizContingencyStats.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPSciVizContingencyStats.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
38 #ifndef vtkPSciVizContingencyStats_h
39 #define vtkPSciVizContingencyStats_h
40 
41 #include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
42 #include "vtkSciVizStatistics.h"
43 
44 class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkPSciVizContingencyStats : public vtkSciVizStatistics
45 {
46 public:
47  static vtkPSciVizContingencyStats* New();
49  virtual void PrintSelf(ostream& os, vtkIndent indent);
50 
51 protected:
53  virtual ~vtkPSciVizContingencyStats();
54 
55  virtual int LearnAndDerive(vtkMultiBlockDataSet* model, vtkTable* inData);
56  virtual int AssessData(
57  vtkTable* observations, vtkDataObject* dataset, vtkMultiBlockDataSet* model);
58 
59 private:
60  vtkPSciVizContingencyStats(const vtkPSciVizContingencyStats&) VTK_DELETE_FUNCTION;
61  void operator=(const vtkPSciVizContingencyStats&) VTK_DELETE_FUNCTION;
62 };
63 
64 #endif // vtkPSciVizContingencyStats_h
virtual int AssessData(vtkTable *observations, vtkDataObject *dataset, vtkMultiBlockDataSet *model)=0
Method subclasses must override to assess an input table given a model of the proper type...
virtual int LearnAndDerive(vtkMultiBlockDataSet *model, vtkTable *inData)=0
Method subclasses must override to calculate a full model from the given input data.
Derive contingency tables and use them to assess the likelihood of associations.
Abstract base class for computing statistics with vtkStatistics.
virtual void PrintSelf(ostream &os, vtkIndent indent)