VTK
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 -------------------------------------------------------------------------*/
49#ifndef vtkContingencyStatistics_h
50#define vtkContingencyStatistics_h
51
52#include "vtkFiltersStatisticsModule.h" // For export macro
54
56class vtkStringArray;
57class vtkTable;
58class vtkVariant;
59class vtkIdTypeArray;
60class vtkDoubleArray;
61
62class VTKFILTERSSTATISTICS_EXPORT vtkContingencyStatistics : public vtkStatisticsAlgorithm
63{
64public:
66 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
68
74 vtkMultiBlockDataSet* ) VTK_OVERRIDE { return; };
75
76protected:
79
83 void Learn( vtkTable*,
84 vtkTable*,
85 vtkMultiBlockDataSet* ) VTK_OVERRIDE;
86
90 void Derive( vtkMultiBlockDataSet* ) VTK_OVERRIDE;
91
95 void Test( vtkTable*,
97 vtkTable* ) VTK_OVERRIDE;
98
102 void Assess( vtkTable*,
104 vtkTable* ) VTK_OVERRIDE;
105
110 virtual void CalculatePValues(vtkTable*);
111
117 void SelectAssessFunctor( vtkTable* outData,
118 vtkDataObject* inMeta,
119 vtkStringArray* rowNames,
120 AssessFunctor*& dfunc ) VTK_OVERRIDE;
125 virtual void SelectAssessFunctor( vtkTable* outData,
126 vtkMultiBlockDataSet* inMeta,
127 vtkIdType pairKey,
128 vtkStringArray* rowNames,
129 AssessFunctor*& dfunc );
130
131private:
132 vtkContingencyStatistics(const vtkContingencyStatistics&) VTK_DELETE_FUNCTION;
133 void operator=(const vtkContingencyStatistics&) VTK_DELETE_FUNCTION;
134};
135
136#endif
137
Tests instantiations of the vtkNew class template.
A class for bivariate correlation contigency tables, conditional probabilities, and information entro...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkContingencyStatistics * New()
~vtkContingencyStatistics() override
void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *) override
Given a collection of models, calculate aggregate model NB: not implemented.
maintain an unordered list of data objects
general representation of visualization data
Definition: vtkDataObject.h:65
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:69
A atomic type representing the union of many types.
Definition: vtkVariant.h:76
int vtkIdType
Definition: vtkType.h:287