#include <MatchersImpl.h>
Public Member Functions | |
virtual Matches | findClosests (const DataPoints &filteredReading) |
Find the closest neighbors of filteredReading in filteredReference passed to init() More... | |
virtual void | init (const DataPoints &filteredReference) |
Init this matcher to find nearest neighbor in filteredReference. More... | |
KDTreeVarDistMatcher (const Parameters ¶ms=Parameters()) | |
virtual | ~KDTreeVarDistMatcher () |
Public Member Functions inherited from PointMatcher< T >::Matcher | |
unsigned long | getVisitCount () const |
Return the visit counter. More... | |
Matcher () | |
Construct without parameter. More... | |
Matcher (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with parameters. More... | |
void | resetVisitCount () |
Reset the visit counter. More... | |
virtual | ~Matcher () |
virtual destructor More... | |
Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
template<typename S > | |
S | get (const std::string ¶mName) |
Return the value of paramName, lexically-casted to S. More... | |
std::string | getParamValueString (const std::string ¶mName) |
Get the value of a parameter, as a string. More... | |
template<typename T > | |
std::vector< T > | getVector (const std::string ¶mName) |
Return the value of paramName, lexically-casted std::vector<S> More... | |
Parametrizable () | |
Construct a documentation of parameters from a description in the source. More... | |
Parametrizable (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with documented parameters. More... | |
virtual | ~Parametrizable () |
Virtual destructor, do nothing. More... | |
Static Public Member Functions | |
static const ParametersDoc | availableParameters () |
static const std::string | description () |
Static Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
template<typename S > | |
static bool | Comp (std::string a, std::string b) |
Return whether a < b, lexically casted to S. More... | |
Public Attributes | |
const T | epsilon |
const int | knn |
const std::string | maxDistField |
const NNSearchType | searchType |
Public Attributes inherited from PointMatcher< T >::Matcher | |
unsigned long | visitCounter |
number of points visited More... | |
Public Attributes inherited from PointMatcherSupport::Parametrizable | |
const std::string | className |
name of the class More... | |
Parameters | parameters |
parameters with their values encoded in string More... | |
const ParametersDoc | parametersDoc |
documentation of parameters More... | |
ParametersUsed | parametersUsed |
parameters whose value has actually been read More... | |
Protected Attributes | |
std::shared_ptr< NNS > | featureNNS |
Additional Inherited Members | |
Public Types inherited from PointMatcherSupport::Parametrizable | |
typedef bool(* | LexicalComparison) (std::string a, std::string b) |
A function that returns whether a is smaller than b. More... | |
typedef std::string | Parameter |
alias More... | |
typedef std::map< std::string, Parameter > | Parameters |
Parameters stored as a map of string->string. More... | |
typedef std::vector< ParameterDoc > | ParametersDoc |
The documentation of all parameters. More... | |
typedef std::set< std::string > | ParametersUsed |
Parameters whose value has been read. More... | |
Definition at line 105 of file MatchersImpl.h.
MatchersImpl< T >::KDTreeVarDistMatcher::KDTreeVarDistMatcher | ( | const Parameters & | params = Parameters() | ) |
Definition at line 108 of file MatchersImpl.cpp.
|
virtual |
Definition at line 119 of file MatchersImpl.cpp.
|
inlinestatic |
Definition at line 111 of file MatchersImpl.h.
|
inlinestatic |
Definition at line 107 of file MatchersImpl.h.
|
virtual |
Find the closest neighbors of filteredReading in filteredReference passed to init()
Implements PointMatcher< T >::Matcher.
Definition at line 133 of file MatchersImpl.cpp.
|
virtual |
Init this matcher to find nearest neighbor in filteredReference.
Implements PointMatcher< T >::Matcher.
Definition at line 125 of file MatchersImpl.cpp.
const T MatchersImpl< T >::KDTreeVarDistMatcher::epsilon |
Definition at line 122 of file MatchersImpl.h.
|
protected |
Definition at line 127 of file MatchersImpl.h.
const int MatchersImpl< T >::KDTreeVarDistMatcher::knn |
Definition at line 121 of file MatchersImpl.h.
const std::string MatchersImpl< T >::KDTreeVarDistMatcher::maxDistField |
Definition at line 124 of file MatchersImpl.h.
const NNSearchType MatchersImpl< T >::KDTreeVarDistMatcher::searchType |
Definition at line 123 of file MatchersImpl.h.