mlpack 3.4.2
Public Member Functions | List of all members
MonoSearchVisitor Class Reference

MonoSearchVisitor executes a monochromatic range search on the given RSType. More...

#include <rs_model.hpp>

Inheritance diagram for MonoSearchVisitor:
Inheritance graph
[legend]

Public Member Functions

 MonoSearchVisitor (const math::Range &range, std::vector< std::vector< size_t > > &neighbors, std::vector< std::vector< double > > &distances)
 Construct the MonoSearchVisitor with the given parameters. More...
 
template<typename RSType >
void operator() (RSType *rs) const
 Perform monochromatic search with the given RangeSearch object. More...
 

Detailed Description

MonoSearchVisitor executes a monochromatic range search on the given RSType.

Range Search is performed on the reference set itself, no querySet.

Definition at line 40 of file rs_model.hpp.

Constructor & Destructor Documentation

◆ MonoSearchVisitor()

MonoSearchVisitor ( const math::Range range,
std::vector< std::vector< size_t > > &  neighbors,
std::vector< std::vector< double > > &  distances 
)
inline

Construct the MonoSearchVisitor with the given parameters.

Definition at line 56 of file rs_model.hpp.

Member Function Documentation

◆ operator()()

void operator() ( RSType rs) const

Perform monochromatic search with the given RangeSearch object.


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