VTK
vtkPContingencyStatistics.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPContingencyStatistics.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  -------------------------------------------------------------------------*/
42 #ifndef vtkPContingencyStatistics_h
43 #define vtkPContingencyStatistics_h
44 
45 #include "vtkFiltersParallelStatisticsModule.h" // For export macro
47 
48 //BTX
49 #include <vector> // STL Header
50 //ETX
51 
54 
56 {
57 public:
60  void PrintSelf(ostream& os, vtkIndent indent);
61 
63 
68 
70 
71  virtual void Learn( vtkTable*,
72  vtkTable*,
75 
76 protected:
79 
80 //BTX
82 
83  bool Reduce( vtkIdType&,
84  char*,
85  vtkStdString&,
86  vtkIdType&,
87  vtkIdType*,
88  std::vector<vtkIdType>& );
90 
92 
94  vtkStdString&,
95  std::vector<vtkStdString>&,
96  vtkIdType,
97  std::vector<vtkIdType>&,
98  vtkIdType );
99 //ETX
101 
103 private:
104  vtkPContingencyStatistics(const vtkPContingencyStatistics&); // Not implemented.
105  void operator=(const vtkPContingencyStatistics&); // Not implemented.
106 };
107 
108 #endif
109 
vtkContingencyStatistics.h
vtkPContingencyStatistics::Controller
vtkMultiProcessController * Controller
Definition: vtkPContingencyStatistics.h:102
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkPContingencyStatistics::Reduce
bool Reduce(vtkIdType &, char *, vtkStdString &, vtkIdType &, vtkIdType *, std::vector< vtkIdType > &)
vtkPContingencyStatistics::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkFiltersParallelStatisticsModule.h
vtkMultiBlockDataSet
Composite dataset that organizes datasets into blocks.
Definition: vtkMultiBlockDataSet.h:51
vtkPContingencyStatistics::~vtkPContingencyStatistics
~vtkPContingencyStatistics()
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:85
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPContingencyStatistics::Broadcast
bool Broadcast(vtkIdType, vtkStdString &, std::vector< vtkStdString > &, vtkIdType, std::vector< vtkIdType > &, vtkIdType)
vtkPContingencyStatistics::Learn
virtual void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *)
VTKFILTERSPARALLELSTATISTICS_EXPORT
#define VTKFILTERSPARALLELSTATISTICS_EXPORT
Definition: vtkFiltersParallelStatisticsModule.h:15
vtkContingencyStatistics
A class for bivariate correlation contigency tables, conditional probabilities, and information entro...
Definition: vtkContingencyStatistics.h:62
vtkPContingencyStatistics::SetController
virtual void SetController(vtkMultiProcessController *)
vtkPContingencyStatistics::New
static vtkPContingencyStatistics * New()
vtkStdString
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:48
vtkPContingencyStatistics
A class for parallel bivariate contingency statistics.
Definition: vtkPContingencyStatistics.h:56
vtkPContingencyStatistics::vtkPContingencyStatistics
vtkPContingencyStatistics()