mlpack  2.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
DualTreeKMeansStatistic Class Reference
Inheritance diagram for DualTreeKMeansStatistic:
Inheritance graph
[legend]

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 unsigned int)
 Serialize the statistic to/from an archive. More...
 

Detailed Description

Definition at line 20 of file dual_tree_kmeans_statistic.hpp.

Constructor & Destructor Documentation

Definition at line 24 of file dual_tree_kmeans_statistic.hpp.

DualTreeKMeansStatistic ( TreeType &  node)
inline

Definition at line 40 of file dual_tree_kmeans_statistic.hpp.

Member Function Documentation

const arma::vec& Centroid ( ) const
inline

Definition at line 81 of file dual_tree_kmeans_statistic.hpp.

arma::vec& Centroid ( )
inline

Definition at line 82 of file dual_tree_kmeans_statistic.hpp.

double LowerBound ( ) const
inline

Definition at line 78 of file dual_tree_kmeans_statistic.hpp.

double& LowerBound ( )
inline

Definition at line 79 of file dual_tree_kmeans_statistic.hpp.

size_t NumTrueChildren ( ) const
inline

Definition at line 105 of file dual_tree_kmeans_statistic.hpp.

size_t Owner ( ) const
inline

Definition at line 84 of file dual_tree_kmeans_statistic.hpp.

size_t& Owner ( )
inline

Definition at line 85 of file dual_tree_kmeans_statistic.hpp.

size_t Pruned ( ) const
inline

Definition at line 87 of file dual_tree_kmeans_statistic.hpp.

size_t& Pruned ( )
inline

Definition at line 88 of file dual_tree_kmeans_statistic.hpp.

double StaticLowerBoundMovement ( ) const
inline

Definition at line 96 of file dual_tree_kmeans_statistic.hpp.

double& StaticLowerBoundMovement ( )
inline

Definition at line 97 of file dual_tree_kmeans_statistic.hpp.

bool StaticPruned ( ) const
inline

Definition at line 90 of file dual_tree_kmeans_statistic.hpp.

bool& StaticPruned ( )
inline

Definition at line 91 of file dual_tree_kmeans_statistic.hpp.

double StaticUpperBoundMovement ( ) const
inline

Definition at line 93 of file dual_tree_kmeans_statistic.hpp.

double& StaticUpperBoundMovement ( )
inline

Definition at line 94 of file dual_tree_kmeans_statistic.hpp.

void* TrueChild ( const size_t  i) const
inline

Definition at line 102 of file dual_tree_kmeans_statistic.hpp.

void*& TrueChild ( const size_t  i)
inline

Definition at line 103 of file dual_tree_kmeans_statistic.hpp.

void* TrueParent ( ) const
inline

Definition at line 99 of file dual_tree_kmeans_statistic.hpp.

void*& TrueParent ( )
inline

Definition at line 100 of file dual_tree_kmeans_statistic.hpp.

double UpperBound ( ) const
inline

Definition at line 75 of file dual_tree_kmeans_statistic.hpp.

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: