MOA 12.03
Real Time Analytics for Data Streams
moa.clusterers.streamkm.Point Class Reference

List of all members.

Public Member Functions

 Point (int dimension)
 Point (Instance inst, int id)
Point clone ()
Cluster toCluster ()
double costOfPoint (int k, Point[] centres)
 Computes the cost of this point with the given array of centres centres[] (of size k)
int determineClusterCentreKMeans (int k, Point[] centres)
 Computes the index of the centre nearest to this point with the given array of centres centres[] (of size k)
double costOfPointToCenter (Point centre)
 Computes the cost of this point with centre centre.

Package Attributes

int dimension
double weight
double squareSum
double[] coordinates
double curCost
int centreIndex
int id
int cl

Detailed Description

Author:
Marcel R. Ackermann, Christiane Lammersen, Marcus Maertens, Christoph Raupach, Christian Sohler, Kamil Swierkot

Definition at line 13 of file Point.java.


Constructor & Destructor Documentation

moa.clusterers.streamkm.Point.Point ( int  dimension)

Definition at line 31 of file Point.java.

Referenced by moa.clusterers.streamkm.Point.clone().

Here is the caller graph for this function:

moa.clusterers.streamkm.Point.Point ( Instance  inst,
int  id 
)

Definition at line 45 of file Point.java.


Member Function Documentation

Point moa.clusterers.streamkm.Point.clone ( )

Definition at line 61 of file Point.java.

Referenced by moa.clusterers.streamkm.BucketManager.insertPoint(), and moa.clusterers.streamkm.TreeCoreset.unionTreeCoreset().

Here is the call graph for this function:

Here is the caller graph for this function:

double moa.clusterers.streamkm.Point.costOfPoint ( int  k,
Point[]  centres 
)

Computes the cost of this point with the given array of centres centres[] (of size k)

Definition at line 83 of file Point.java.

double moa.clusterers.streamkm.Point.costOfPointToCenter ( Point  centre)

Computes the cost of this point with centre centre.

Definition at line 154 of file Point.java.

int moa.clusterers.streamkm.Point.determineClusterCentreKMeans ( int  k,
Point[]  centres 
)

Computes the index of the centre nearest to this point with the given array of centres centres[] (of size k)

Definition at line 118 of file Point.java.

Referenced by moa.clusterers.streamkm.StreamKM.lloydPlusPlus().

Here is the caller graph for this function:

Cluster moa.clusterers.streamkm.Point.toCluster ( )

Definition at line 74 of file Point.java.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations