#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... | |
NullMatcher () | |
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 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... | |
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... | |
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... | |
Definition at line 62 of file MatchersImpl.h.
|
inline |
Definition at line 69 of file MatchersImpl.h.
|
inlinestatic |
Definition at line 64 of file MatchersImpl.h.
|
virtual |
Find the closest neighbors of filteredReading in filteredReference passed to init()
Implements PointMatcher< T >::Matcher.
Definition at line 48 of file MatchersImpl.cpp.
|
virtual |
Init this matcher to find nearest neighbor in filteredReference.
Implements PointMatcher< T >::Matcher.
Definition at line 41 of file MatchersImpl.cpp.