52 #ifndef vtkGenerateStatistics_h
53 #define vtkGenerateStatistics_h
55 #include "vtkFiltersParallelStatisticsModule.h"
59 #include <unordered_map>
62 VTK_ABI_NAMESPACE_BEGIN
65 class vtkDataObjectToTable;
76 class vtkStatisticsAccumulator;
96 vtkGetMacro(AttributeMode,
int);
97 vtkSetMacro(AttributeMode,
int);
103 int GetNumberOfAttributeArrays();
108 const char* GetAttributeArrayName(
int nn);
113 int GetAttributeArrayStatus(
const char* arrName);
119 void EnableAttributeArray(
const char* arrName);
120 void ClearAttributeArrays();
140 vtkSetClampMacro(TrainingFraction,
double, 0.0, 1.0);
141 vtkGetMacro(TrainingFraction,
double);
205 int RequestLocalDataDispatch(
262 void GenerateSubset(std::unordered_map<vtkIdType, vtkIdType>& subset,
vtkIdType numberOfTuples,
266 std::unordered_map<vtkIdType, std::unordered_map<vtkIdType, double>>;
273 const std::unordered_map<vtkIdType, vtkIdType>& subset);
280 void ComputeEdgeToVertexWeights(
281 std::unordered_map<
vtkIdType, std::unordered_map<vtkIdType, double>>& edgesToVertsToWeights,
282 vtkGraph* graph,
const std::unordered_map<vtkIdType, vtkIdType>& subset);
288 const std::unordered_map<vtkIdType, vtkIdType>& subset);
294 vtkDataSet*
data,
const std::unordered_map<vtkIdType, vtkIdType>& subset,
298 vtkGraph*
data,
const std::unordered_map<vtkIdType, vtkIdType>& subset,
299 const std::unordered_map<
vtkIdType, std::unordered_map<vtkIdType, double>>&
300 edgesToVertsToWeights);
328 std::unique_ptr<vtkStatisticsAlgorithmPrivate>
P;
334 class StatisticsAccumulator;
340 VTK_ABI_NAMESPACE_END
342 #endif // vtkGenerateStatistics_h
composite dataset to encapsulates a dataset consisting of partitions.
Statistical modeling of non-tabular data adapted from VTK geometric datasets.
std::unique_ptr< vtkStatisticsAlgorithmPrivate > P
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a base class for statistical modeling of other data
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
abstract class to specify dataset behavior
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
std::unordered_map< vtkIdType, std::unordered_map< vtkIdType, double >> PointsOfCellsWeightMap
Base class for graph data types.
Base class for statistics algorithms.
vtkMultiProcessController * Controller
Visualization data composed of cells of arbitrary type.
abstract superclass for composite (multi-block or AMR) datasets
vtkStatisticsAlgorithm * StatisticsAlgorithm
a simple class to control print indentation
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Superclass for algorithms that produce vtkPartitionedDataSetCollectionAlgorithm.
dynamic, self-adjusting array of unsigned char
A table, which contains similar-typed columns of data.
static vtkAlgorithm * New()
vtkTypeBool WeightByCellMeasure
general representation of visualization data
Represents and manipulates a collection of data arrays.
Composite dataset that groups datasets as a collection.
Multiprocessing communication superclass.