A statistic for trees which holds the blacklist for Pelleg-Moore k-means clustering (which represents the clusters that cannot possibly own any points in a node). More...
Public Member Functions | |
PellegMooreKMeansStatistic () | |
Initialize the statistic without a node (this does nothing). More... | |
template < typename TreeType > | |
PellegMooreKMeansStatistic (TreeType &node) | |
Initialize the statistic for a node; this calculates the centroid and caches it. More... | |
const arma::uvec & | Blacklist () const |
Get the cluster blacklist. More... | |
arma::uvec & | Blacklist () |
Modify the cluster blacklist. More... | |
const arma::vec & | Centroid () const |
Get the node's centroid. More... | |
arma::vec & | Centroid () |
Modify the node's centroid (be careful!). More... | |
A statistic for trees which holds the blacklist for Pelleg-Moore k-means clustering (which represents the clusters that cannot possibly own any points in a node).
Definition at line 24 of file pelleg_moore_kmeans_statistic.hpp.
|
inline |
Initialize the statistic without a node (this does nothing).
Definition at line 28 of file pelleg_moore_kmeans_statistic.hpp.
|
inline |
Initialize the statistic for a node; this calculates the centroid and caches it.
Definition at line 33 of file pelleg_moore_kmeans_statistic.hpp.
|
inline |
Get the cluster blacklist.
Definition at line 57 of file pelleg_moore_kmeans_statistic.hpp.
|
inline |
Modify the cluster blacklist.
Definition at line 59 of file pelleg_moore_kmeans_statistic.hpp.
|
inline |
Get the node's centroid.
Definition at line 62 of file pelleg_moore_kmeans_statistic.hpp.
|
inline |
Modify the node's centroid (be careful!).
Definition at line 64 of file pelleg_moore_kmeans_statistic.hpp.