mlpack
2.2.5
|
SetSearchModeVisitor modifies the SearchMode method of the given NSType. More...
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... | |
SetSearchModeVisitor modifies the SearchMode method of the given NSType.
Definition at line 225 of file ns_model.hpp.
|
inline |
Construct the SetSearchModeVisitor object with the given mode.
Definition at line 230 of file ns_model.hpp.
void operator() | ( | NSType * | ns | ) | const |
Set the search mode.