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 "vtkStatisticsAlgorithm.h"
52 
54 class vtkStringArray;
55 class vtkTable;
56 class vtkVariant;
57 
59 {
60 public:
62  void PrintSelf(ostream& os, vtkIndent indent);
63  static vtkContingencyStatistics* New();
64 
66 
69  vtkMultiBlockDataSet* ) { return; };
71 
72 protected:
75 
77 
78  virtual void Learn( vtkTable*,
79  vtkTable*,
82 
84  virtual void Derive( vtkMultiBlockDataSet* );
85 
87 
88  virtual void Test( vtkTable*,
90  vtkTable* );
92 
94 
95  virtual void Assess( vtkTable*,
97  vtkTable* );
99 
100 //BTX
102 
105  virtual void SelectAssessFunctor( vtkTable* outData,
106  vtkDataObject* inMeta,
107  vtkStringArray* rowNames,
108  AssessFunctor*& dfunc );
110 
111 
113  virtual void SelectAssessFunctor( vtkTable* outData,
114  vtkMultiBlockDataSet* inMeta,
115  vtkIdType pairKey,
116  vtkStringArray* rowNames,
117  AssessFunctor*& dfunc );
118 //ETX
120 
121 private:
122  vtkContingencyStatistics(const vtkContingencyStatistics&); // Not implemented
123  void operator=(const vtkContingencyStatistics&); // Not implemented
124 };
125 
126 #endif
127