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 
55 class VTKFILTERSPARALLELSTATISTICS_EXPORT vtkPContingencyStatistics : public vtkContingencyStatistics
56 {
57 public:
60  void PrintSelf(ostream& os, vtkIndent indent);
61 
63 
65  virtual void SetController(vtkMultiProcessController*);
66  vtkGetObjectMacro(Controller, vtkMultiProcessController);
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 
93  bool Broadcast( vtkIdType,
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 
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:46
A class for bivariate correlation contigency tables, conditional probabilities, and information entro...
int vtkIdType
Definition: vtkType.h:275
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkMultiProcessController * Controller
static vtkContingencyStatistics * New()
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:67
virtual void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *)
Composite dataset that organizes datasets into blocks.
A class for parallel bivariate contingency statistics.
void PrintSelf(ostream &os, vtkIndent indent)
Multiprocessing communication superclass.