mlpack  2.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
MonoSearchVisitor Class Reference

MonoSearchVisitor executes a monochromatic neighbor search on the given NSType. More...

Inheritance diagram for MonoSearchVisitor:
Inheritance graph
[legend]

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

MonoSearchVisitor ( const size_t  k,
arma::Mat< size_t > &  neighbors,
arma::mat &  distances 
)
inline

Construct the MonoSearchVisitor object with the given parameters.

Definition at line 82 of file ns_model.hpp.

Member Function Documentation

void operator() ( NSType ns) const

Perform monochromatic nearest neighbor search.


The documentation for this class was generated from the following file: