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 
46 
47 //BTX
48 #include <vector> // STL Header
49 //ETX
50 
53 
55 {
56 public:
59  void PrintSelf(ostream& os, vtkIndent indent);
60 
62 
64  virtual void SetController(vtkMultiProcessController*);
65  vtkGetObjectMacro(Controller, vtkMultiProcessController);
67 
69 
70  virtual void Learn( vtkTable*,
71  vtkTable*,
74 
75 protected:
78 
79 //BTX
81 
82  bool Reduce( vtkIdType&,
83  char*,
84  vtkStdString&,
85  vtkIdType&,
86  vtkIdType*,
87  std::vector<vtkIdType>& );
89 
91 
92  bool Broadcast( vtkIdType,
93  vtkStdString&,
94  std::vector<vtkStdString>&,
95  vtkIdType,
96  std::vector<vtkIdType>&,
97  vtkIdType );
98 //ETX
100 
102 private:
103  vtkPContingencyStatistics(const vtkPContingencyStatistics&); // Not implemented.
104  void operator=(const vtkPContingencyStatistics&); // Not implemented.
105 };
106 
107 #endif
108