MonoSearchVisitor Class Reference

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

Inheritance diagram for MonoSearchVisitor:

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() [1/2]

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() [2/2]

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

◆ operator()() [1/2]

void operator() ( RAType ra) const

Perform monochromatic nearest neighbor search.

◆ operator()() [2/2]

void operator() ( NSType ns) const

Perform monochromatic nearest neighbor search.


The documentation for this class was generated from the following files:
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-3.2.1/src/mlpack/methods/neighbor_search/ns_model.hpp
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-3.2.1/src/mlpack/methods/rann/ra_model.hpp