|
| DualTreeKMeansRules (const arma::mat ¢roids, const arma::mat &dataset, arma::Row< size_t > &assignments, arma::vec &upperBounds, arma::vec &lowerBounds, MetricType &metric, const std::vector< bool > &prunedPoints, const std::vector< size_t > &oldFromNewCentroids, std::vector< bool > &visited) |
|
double | BaseCase (const size_t queryIndex, const size_t referenceIndex) |
|
size_t | BaseCases () const |
|
size_t & | BaseCases () |
|
size_t | MinimumBaseCases () const |
| Get the minimum number of base cases needed for correct results for each query point. More...
|
|
double | Rescore (const size_t queryIndex, TreeType &referenceNode, const double oldScore) |
|
double | Rescore (TreeType &queryNode, TreeType &referenceNode, const double oldScore) |
|
double | Score (const size_t queryIndex, TreeType &referenceNode) |
|
double | Score (TreeType &queryNode, TreeType &referenceNode) |
|
size_t | Scores () const |
|
size_t & | Scores () |
|
TraversalInfoType & | TraversalInfo () |
|
const TraversalInfoType & | TraversalInfo () const |
|
class mlpack::kmeans::DualTreeKMeansRules< MetricType, TreeType >
Definition at line 23 of file dual_tree_kmeans_rules.hpp.
◆ TraversalInfoType
◆ DualTreeKMeansRules()
DualTreeKMeansRules |
( |
const arma::mat & |
centroids, |
|
|
const arma::mat & |
dataset, |
|
|
arma::Row< size_t > & |
assignments, |
|
|
arma::vec & |
upperBounds, |
|
|
arma::vec & |
lowerBounds, |
|
|
MetricType & |
metric, |
|
|
const std::vector< bool > & |
prunedPoints, |
|
|
const std::vector< size_t > & |
oldFromNewCentroids, |
|
|
std::vector< bool > & |
visited |
|
) |
| |
◆ BaseCase()
double BaseCase |
( |
const size_t |
queryIndex, |
|
|
const size_t |
referenceIndex |
|
) |
| |
◆ BaseCases() [1/2]
size_t BaseCases |
( |
| ) |
const |
|
inline |
◆ BaseCases() [2/2]
◆ MinimumBaseCases()
size_t MinimumBaseCases |
( |
| ) |
const |
|
inline |
Get the minimum number of base cases needed for correct results for each query point.
This only matters in defeatist search mode.
Definition at line 60 of file dual_tree_kmeans_rules.hpp.
◆ Rescore() [1/2]
double Rescore |
( |
const size_t |
queryIndex, |
|
|
TreeType & |
referenceNode, |
|
|
const double |
oldScore |
|
) |
| |
◆ Rescore() [2/2]
double Rescore |
( |
TreeType & |
queryNode, |
|
|
TreeType & |
referenceNode, |
|
|
const double |
oldScore |
|
) |
| |
◆ Score() [1/2]
double Score |
( |
const size_t |
queryIndex, |
|
|
TreeType & |
referenceNode |
|
) |
| |
◆ Score() [2/2]
double Score |
( |
TreeType & |
queryNode, |
|
|
TreeType & |
referenceNode |
|
) |
| |
◆ Scores() [1/2]
◆ Scores() [2/2]
◆ TraversalInfo() [1/2]
◆ TraversalInfo() [2/2]
The documentation for this class was generated from the following file: