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