A dual-tree traversal Rules class for cleaning used trees before performing kernel density estimation. More...
Public Types | |
typedef tree::TraversalInfo< TreeType > | TraversalInfoType |
Public Member Functions | |
KDECleanRules () | |
Construct KDECleanRules. More... | |
double | BaseCase (const size_t, const size_t) |
Base Case. More... | |
double | Rescore (const size_t, TreeType &, const double oldScore) const |
SingleTree Rescore. More... | |
double | Rescore (TreeType &, TreeType &, const double oldScore) const |
Dual-Tree Rescore. More... | |
double | Score (const size_t, TreeType &referenceNode) |
SingleTree Score. More... | |
double | Score (TreeType &queryNode, TreeType &referenceNode) |
Dual-Tree Score. More... | |
const TraversalInfoType & | TraversalInfo () const |
Get traversal information. More... | |
TraversalInfoType & | TraversalInfo () |
Modify traversal information. More... | |
A dual-tree traversal Rules class for cleaning used trees before performing kernel density estimation.
Definition at line 189 of file kde_rules.hpp.
typedef tree::TraversalInfo<TreeType> TraversalInfoType |
Definition at line 214 of file kde_rules.hpp.
|
inline |
Construct KDECleanRules.
Definition at line 193 of file kde_rules.hpp.
References KDERules< MetricType, KernelType, TreeType >::BaseCase(), and KDERules< MetricType, KernelType, TreeType >::Score().
double BaseCase | ( | const size_t | , |
const size_t | |||
) |
Base Case.
|
inline |
SingleTree Rescore.
Definition at line 202 of file kde_rules.hpp.
References KDERules< MetricType, KernelType, TreeType >::Score().
|
inline |
Dual-Tree Rescore.
Definition at line 210 of file kde_rules.hpp.
double Score | ( | const size_t | , |
TreeType & | referenceNode | ||
) |
SingleTree Score.
double Score | ( | TreeType & | queryNode, |
TreeType & | referenceNode | ||
) |
Dual-Tree Score.
|
inline |
Get traversal information.
Definition at line 217 of file kde_rules.hpp.
|
inline |
Modify traversal information.
Definition at line 220 of file kde_rules.hpp.