DualTreeKMeansStatistic Class Reference
Inheritance diagram for DualTreeKMeansStatistic:

Public Member Functions

 DualTreeKMeansStatistic ()
 
template
<
typename
TreeType
>
 DualTreeKMeansStatistic (TreeType &node)
 
const arma::vec & Centroid () const
 
arma::vec & Centroid ()
 
double LowerBound () const
 
double & LowerBound ()
 
size_t NumTrueChildren () const
 
size_t Owner () const
 
size_t & Owner ()
 
size_t Pruned () const
 
size_t & Pruned ()
 
double StaticLowerBoundMovement () const
 
double & StaticLowerBoundMovement ()
 
bool StaticPruned () const
 
bool & StaticPruned ()
 
double StaticUpperBoundMovement () const
 
double & StaticUpperBoundMovement ()
 
void * TrueChild (const size_t i) const
 
void *& TrueChild (const size_t i)
 
void * TrueParent () const
 
void *& TrueParent ()
 
double UpperBound () const
 
double & UpperBound ()
 
- Public Member Functions inherited from NeighborSearchStat< neighbor::NearestNeighborSort >
 NeighborSearchStat ()
 Initialize the statistic with the worst possible distance according to our sorting policy. More...

 
 NeighborSearchStat (TreeType &)
 Initialization for a fully initialized node. More...

 
double AuxBound () const
 Get the aux bound. More...

 
double & AuxBound ()
 Modify the aux bound. More...

 
double FirstBound () const
 Get the first bound. More...

 
double & FirstBound ()
 Modify the first bound. More...

 
double LastDistance () const
 Get the last distance calculation. More...

 
double & LastDistance ()
 Modify the last distance calculation. More...

 
void Reset ()
 Reset statistic parameters to initial values. More...

 
double SecondBound () const
 Get the second bound. More...

 
double & SecondBound ()
 Modify the second bound. More...

 
void serialize (Archive &ar, const uint32_t)
 Serialize the statistic to/from an archive. More...

 

Detailed Description

Definition at line 20 of file dual_tree_kmeans_statistic.hpp.

Constructor & Destructor Documentation

◆ DualTreeKMeansStatistic() [1/2]

Definition at line 24 of file dual_tree_kmeans_statistic.hpp.

◆ DualTreeKMeansStatistic() [2/2]

DualTreeKMeansStatistic ( TreeType &  node)
inline

Definition at line 40 of file dual_tree_kmeans_statistic.hpp.

Member Function Documentation

◆ Centroid() [1/2]

const arma::vec& Centroid ( ) const
inline

Definition at line 81 of file dual_tree_kmeans_statistic.hpp.

◆ Centroid() [2/2]

arma::vec& Centroid ( )
inline

Definition at line 82 of file dual_tree_kmeans_statistic.hpp.

◆ LowerBound() [1/2]

double LowerBound ( ) const
inline

Definition at line 78 of file dual_tree_kmeans_statistic.hpp.

◆ LowerBound() [2/2]

double& LowerBound ( )
inline

Definition at line 79 of file dual_tree_kmeans_statistic.hpp.

◆ NumTrueChildren()

size_t NumTrueChildren ( ) const
inline

Definition at line 105 of file dual_tree_kmeans_statistic.hpp.

◆ Owner() [1/2]

size_t Owner ( ) const
inline

Definition at line 84 of file dual_tree_kmeans_statistic.hpp.

◆ Owner() [2/2]

size_t& Owner ( )
inline

Definition at line 85 of file dual_tree_kmeans_statistic.hpp.

◆ Pruned() [1/2]

size_t Pruned ( ) const
inline

Definition at line 87 of file dual_tree_kmeans_statistic.hpp.

◆ Pruned() [2/2]

size_t& Pruned ( )
inline

Definition at line 88 of file dual_tree_kmeans_statistic.hpp.

◆ StaticLowerBoundMovement() [1/2]

double StaticLowerBoundMovement ( ) const
inline

Definition at line 96 of file dual_tree_kmeans_statistic.hpp.

◆ StaticLowerBoundMovement() [2/2]

double& StaticLowerBoundMovement ( )
inline

Definition at line 97 of file dual_tree_kmeans_statistic.hpp.

◆ StaticPruned() [1/2]

bool StaticPruned ( ) const
inline

Definition at line 90 of file dual_tree_kmeans_statistic.hpp.

◆ StaticPruned() [2/2]

bool& StaticPruned ( )
inline

Definition at line 91 of file dual_tree_kmeans_statistic.hpp.

◆ StaticUpperBoundMovement() [1/2]

double StaticUpperBoundMovement ( ) const
inline

Definition at line 93 of file dual_tree_kmeans_statistic.hpp.

◆ StaticUpperBoundMovement() [2/2]

double& StaticUpperBoundMovement ( )
inline

Definition at line 94 of file dual_tree_kmeans_statistic.hpp.

◆ TrueChild() [1/2]

void* TrueChild ( const size_t  i) const
inline

Definition at line 102 of file dual_tree_kmeans_statistic.hpp.

◆ TrueChild() [2/2]

void*& TrueChild ( const size_t  i)
inline

Definition at line 103 of file dual_tree_kmeans_statistic.hpp.

◆ TrueParent() [1/2]

void* TrueParent ( ) const
inline

Definition at line 99 of file dual_tree_kmeans_statistic.hpp.

◆ TrueParent() [2/2]

void*& TrueParent ( )
inline

Definition at line 100 of file dual_tree_kmeans_statistic.hpp.

◆ UpperBound() [1/2]

double UpperBound ( ) const
inline

Definition at line 75 of file dual_tree_kmeans_statistic.hpp.

◆ UpperBound() [2/2]

double& UpperBound ( )
inline

Definition at line 76 of file dual_tree_kmeans_statistic.hpp.


The documentation for this class was generated from the following file: