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

Detailed Description

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.

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 64 of file ns_model.hpp.

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 59 of file ra_model.hpp.

Member Function Documentation

void operator() ( RAType ra) const

Perform monochromatic nearest neighbor search.

void operator() ( NSType ns) const

Perform monochromatic nearest neighbor search.


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