00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00043 #ifndef __vtkContingencyStatistics_h
00044 #define __vtkContingencyStatistics_h
00045
00046 #include "vtkBivariateStatisticsAlgorithm.h"
00047
00048 class vtkMultiBlockDataSet;
00049 class vtkStringArray;
00050 class vtkTable;
00051 class vtkVariant;
00052
00053 class VTK_INFOVIS_EXPORT vtkContingencyStatistics : public vtkBivariateStatisticsAlgorithm
00054 {
00055 public:
00056 vtkTypeMacro(vtkContingencyStatistics, vtkBivariateStatisticsAlgorithm);
00057 void PrintSelf(ostream& os, vtkIndent indent);
00058 static vtkContingencyStatistics* New();
00059
00061
00063 virtual void Aggregate( vtkDataObjectCollection*,
00064 vtkMultiBlockDataSet* ) { return; };
00066
00067 protected:
00068 vtkContingencyStatistics();
00069 ~vtkContingencyStatistics();
00070
00072
00073 virtual void Learn( vtkTable* inData,
00074 vtkTable* inParameters,
00075 vtkMultiBlockDataSet* outMeta );
00077
00079 virtual void Derive( vtkMultiBlockDataSet* );
00080
00082
00083 virtual void Test( vtkTable* inData,
00084 vtkMultiBlockDataSet* inMeta,
00085 vtkTable* outMeta );
00087
00089
00090 virtual void Assess( vtkTable* inData,
00091 vtkMultiBlockDataSet* inMeta,
00092 vtkTable* outData );
00094
00095
00097
00100 virtual void SelectAssessFunctor( vtkTable* outData,
00101 vtkDataObject* inMeta,
00102 vtkStringArray* rowNames,
00103 AssessFunctor*& dfunc );
00104
00105
00106
00107 virtual void SelectAssessFunctor( vtkTable* outData,
00108 vtkMultiBlockDataSet* inMeta,
00109 vtkIdType pairKey,
00110 vtkStringArray* rowNames,
00111 AssessFunctor*& dfunc );
00112
00114
00115 private:
00116 vtkContingencyStatistics(const vtkContingencyStatistics&);
00117 void operator=(const vtkContingencyStatistics&);
00118 };
00119
00120 #endif
00121