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... | |
MonoSearchVisitor (const size_t k, arma::Mat< size_t > &neighbors, arma::mat &distances) | |
Construct the MonoSearchVisitor object with the given parameters. More... | |
template < typename RAType > | |
void | operator() (RAType *ra) const |
Perform monochromatic nearest neighbor search. 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.
MonoSearchVisitor executes a monochromatic neighbor search on the given RAType.
We don't make any difference for different instantiations of NSType.
We don't make any difference for different instantiation of RAType.
Definition at line 48 of file ns_model.hpp.
|
inline |
Construct the MonoSearchVisitor object with the given parameters.
Definition at line 64 of file ns_model.hpp.
|
inline |
Construct the MonoSearchVisitor object with the given parameters.
Definition at line 59 of file ra_model.hpp.
void operator() | ( | RAType * | ra | ) | const |
Perform monochromatic nearest neighbor search.
void operator() | ( | NSType * | ns | ) | const |
Perform monochromatic nearest neighbor search.