Go to the documentation of this file.
101 #ifndef vtkKMeansStatistics_h
102 #define vtkKMeansStatistics_h
#define vtkGetObjectMacro(name, type)
virtual void UpdateClusterCenters(vtkTable *newClusterElements, vtkTable *curClusterElements, vtkIdTypeArray *numMembershipChanges, vtkIdTypeArray *numElementsInCluster, vtkDoubleArray *error, vtkIdTypeArray *startRunID, vtkIdTypeArray *endRunID, vtkIntArray *computeRun)
maintain an unordered list of data objects
A table, which contains similar-typed columns of data.
virtual void CreateInitialClusterCenters(vtkIdType numToAllocate, vtkIdTypeArray *numberOfClusters, vtkTable *inData, vtkTable *curClusterElements, vtkTable *newClusterElements)
measure distance from k-means cluster centers
#define vtkTypeMacro(thisClass, superclass)
int DefaultNumberOfClusters
virtual void Test(vtkTable *, vtkMultiBlockDataSet *, vtkTable *)
virtual void SelectAssessFunctor(vtkTable *inData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc)
Composite dataset that organizes datasets into blocks.
int InitializeDataAndClusterCenters(vtkTable *inParameters, vtkTable *inData, vtkTable *dataElements, vtkIdTypeArray *numberOfClusters, vtkTable *curClusterElements, vtkTable *newClusterElements, vtkIdTypeArray *startRunID, vtkIdTypeArray *endRunID)
static vtkKMeansStatistics * New()
virtual void SetDistanceFunctor(vtkKMeansDistanceFunctor *)
vtkKMeansDistanceFunctor * DistanceFunctor
GLsizei const GLfloat * value
virtual void Learn(vtkTable *, vtkTable *, vtkMultiBlockDataSet *)
virtual bool SetParameter(const char *parameter, int index, vtkVariant value)
virtual vtkIdType GetTotalNumberOfObservations(vtkIdType numObservations)
a simple class to control print indentation
#define vtkSetStringMacro(name)
dynamic, self-adjusting array of int
A atomic type representing the union of many types.
#define vtkGetMacro(name, type)
virtual void Derive(vtkMultiBlockDataSet *)
vtkGetStringMacro(ExtensionsString)
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkSetMacro(IgnoreDriverBugs, bool)
dynamic, self-adjusting array of vtkIdType
virtual void Aggregate(vtkDataObjectCollection *, vtkMultiBlockDataSet *)
a vtkAbstractArray subclass for strings
A class for KMeans clustering.
dynamic, self-adjusting array of double
virtual void Assess(vtkTable *, vtkMultiBlockDataSet *, vtkTable *)
Base class for statistics algorithms.
general representation of visualization data