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

SetSearchModeVisitor modifies the SearchMode method of the given NSType. More...

Inheritance diagram for SetSearchModeVisitor:
Inheritance graph
[legend]

Public Member Functions

 SetSearchModeVisitor (const NeighborSearchMode searchMode)
 Construct the SetSearchModeVisitor object with the given mode. More...
 
template<typename NSType >
void operator() (NSType *ns) const
 Set the search mode. More...
 

Detailed Description

SetSearchModeVisitor modifies the SearchMode method of the given NSType.

Definition at line 225 of file ns_model.hpp.

Constructor & Destructor Documentation

SetSearchModeVisitor ( const NeighborSearchMode  searchMode)
inline

Construct the SetSearchModeVisitor object with the given mode.

Definition at line 230 of file ns_model.hpp.

Member Function Documentation

void operator() ( NSType ns) const

Set the search mode.


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