mlpack
2.2.5
|
MonoSearchVisitor executes a monochromatic neighbor search on the given NSType. More...
Public Member Functions | |
MonoSearchVisitor (const size_t k, arma::Mat< size_t > &neighbors, arma::mat &distances) | |
Construct the MonoSearchVisitor object with the given parameters. More... | |
template<typename NSType > | |
void | operator() (NSType *ns) const |
Perform monochromatic nearest neighbor search. More... | |
MonoSearchVisitor executes a monochromatic neighbor search on the given NSType.
We don't make any difference for different instantiations of NSType.
Definition at line 66 of file ns_model.hpp.
|
inline |
Construct the MonoSearchVisitor object with the given parameters.
Definition at line 82 of file ns_model.hpp.
void operator() | ( | NSType * | ns | ) | const |
Perform monochromatic nearest neighbor search.