Class for storing the results returned by the Clusterer.
More...
#include <cluster.h>
Class for storing the results returned by the Clusterer.
Definition at line 452 of file cluster.h.
◆ ClusterSet() [1/3]
| Xapian::ClusterSet::ClusterSet |
( |
const ClusterSet & |
other | ) |
|
Copying is allowed.
The internals are reference counted, so copying is cheap.
- Parameters
-
◆ ClusterSet() [2/3]
| Xapian::ClusterSet::ClusterSet |
( |
ClusterSet && |
other | ) |
|
Move constructor.
- Parameters
-
◆ ClusterSet() [3/3]
| Xapian::ClusterSet::ClusterSet |
( |
| ) |
|
◆ ~ClusterSet()
| Xapian::ClusterSet::~ClusterSet |
( |
| ) |
|
◆ add_cluster()
| void Xapian::ClusterSet::add_cluster |
( |
const Cluster & |
cluster | ) |
|
◆ add_to_cluster()
| void Xapian::ClusterSet::add_to_cluster |
( |
const Point & |
point, |
|
|
unsigned int |
index |
|
) |
| |
Add the point to the cluster at position 'index'.
- Parameters
-
◆ clear_clusters()
| void Xapian::ClusterSet::clear_clusters |
( |
| ) |
|
◆ operator=() [1/2]
Move assignment operator.
- Parameters
-
◆ operator=() [2/2]
Assignment is allowed.
The internals are reference counted, so assignment is cheap.
- Parameters
-
◆ operator[]()
Return the cluster at index 'i'.
◆ recalculate_centroids()
| void Xapian::ClusterSet::recalculate_centroids |
( |
| ) |
|
Recalculate the centroid for all the clusters in the ClusterSet.
◆ size()
Return the number of clusters.
◆ internal
Reference counted internals.
Definition at line 456 of file cluster.h.
The documentation for this class was generated from the following file: