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 "vtkPVVTKExtensionsFiltersStatisticsModule.h" //needed for exports
42 #include "vtkSciVizStatistics.h"
43 
45  : public vtkSciVizStatistics
46 {
47 public:
50  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
52 protected:
54  ~vtkPSciVizContingencyStats() override;
55 
56  int LearnAndDerive(vtkMultiBlockDataSet* model, vtkTable* inData) override;
57  int AssessData(
58  vtkTable* observations, vtkDataObject* dataset, vtkMultiBlockDataSet* model) override;
59 
60 private:
62  void operator=(const vtkPSciVizContingencyStats&) = delete;
63 };
64 
65 #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...
#define VTKPVVTKEXTENSIONSFILTERSSTATISTICS_EXPORT
static vtkTableAlgorithm * New()
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.
void PrintSelf(ostream &os, vtkIndent indent) override