33#ifndef vtkPKMeansStatistics_h
34#define vtkPKMeansStatistics_h
36#include "vtkFiltersParallelStatisticsModule.h"
Used to send/receive messages in a multiprocess environment.
dynamic, self-adjusting array of double
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
dynamic, self-adjusting array of int
A class for KMeans clustering.
Multiprocessing communication superclass.
vtkIdType GetTotalNumberOfObservations(vtkIdType numObservations) override
Subroutine to get the total number of data objects.
void UpdateClusterCenters(vtkTable *newClusterElements, vtkTable *curClusterElements, vtkIdTypeArray *numMembershipChanges, vtkIdTypeArray *numElementsInCluster, vtkDoubleArray *error, vtkIdTypeArray *startRunID, vtkIdTypeArray *endRunID, vtkIntArray *computeRun) override
Subroutine to update new cluster centers from the old centers.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void CreateInitialClusterCenters(vtkIdType numToAllocate, vtkIdTypeArray *numberOfClusters, vtkTable *inData, vtkTable *curClusterElements, vtkTable *newClusterElements) override
Subroutine to initialize cluster centerss if not provided by the user.
~vtkPKMeansStatistics() override
vtkMultiProcessController * Controller
static vtkPKMeansStatistics * New()
virtual void SetController(vtkMultiProcessController *)
Get/Set the multiprocess controller.
A table, which contains similar-typed columns of data.