#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... | |
KDTreeMatcher (const Parameters ¶ms=Parameters()) | |
virtual | ~KDTreeMatcher () |
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... | |
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 T | maxDist |
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 74 of file MatchersImpl.h.
MatchersImpl< T >::KDTreeMatcher::KDTreeMatcher | ( | const Parameters & | params = Parameters() | ) |
Definition at line 61 of file MatchersImpl.cpp.
|
virtual |
Definition at line 72 of file MatchersImpl.cpp.
|
inlinestatic |
Definition at line 80 of file MatchersImpl.h.
|
inlinestatic |
Definition at line 76 of file MatchersImpl.h.
|
virtual |
Find the closest neighbors of filteredReading in filteredReference passed to init()
Implements PointMatcher< T >::Matcher.
Definition at line 86 of file MatchersImpl.cpp.
|
virtual |
Init this matcher to find nearest neighbor in filteredReference.
Implements PointMatcher< T >::Matcher.
Definition at line 78 of file MatchersImpl.cpp.
const T MatchersImpl< T >::KDTreeMatcher::epsilon |
Definition at line 91 of file MatchersImpl.h.
|
protected |
Definition at line 96 of file MatchersImpl.h.
const int MatchersImpl< T >::KDTreeMatcher::knn |
Definition at line 90 of file MatchersImpl.h.
const T MatchersImpl< T >::KDTreeMatcher::maxDist |
Definition at line 93 of file MatchersImpl.h.
const NNSearchType MatchersImpl< T >::KDTreeMatcher::searchType |
Definition at line 92 of file MatchersImpl.h.