#include <InspectorsImpl.h>
Public Member Functions | |
virtual void | addStat (const std::string &name, double data) |
Add a value for statistics name, create it if new. More... | |
virtual void | dumpStats (std::ostream &stream) |
Dump all statistics in CSV format. More... | |
virtual void | dumpStatsHeader (std::ostream &stream) |
Dump header for all statistics. More... | |
PerformanceInspector (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
PerformanceInspector (const Parameters ¶ms) | |
Public Member Functions inherited from PointMatcher< T >::Inspector | |
virtual void | dumpIteration (const size_t iterationNumber, const TransformationParameters ¶meters, const DataPoints &filteredReference, const DataPoints &reading, const Matches &matches, const OutlierWeights &outlierWeights, const TransformationCheckers &transformationCheckers) |
Dump the state of a given iteration. More... | |
virtual void | finish (const size_t iterationCount) |
Tell the inspector the ICP operation is completed. More... | |
virtual void | init () |
Start a new ICP operation or sequence. More... | |
Inspector () | |
Construct without parameter. More... | |
Inspector (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with parameters. More... | |
virtual | ~Inspector () |
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 std::string | baseFileName |
const bool | bDumpPerfOnExit |
const bool | bDumpStats |
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 Types | |
typedef PointMatcherSupport::Histogram< double > | Histogram |
typedef std::map< std::string, Histogram > | HistogramMap |
Protected Attributes | |
HistogramMap | stats |
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 72 of file InspectorsImpl.h.
|
protected |
Definition at line 94 of file InspectorsImpl.h.
|
protected |
Definition at line 95 of file InspectorsImpl.h.
InspectorsImpl< T >::PerformanceInspector::PerformanceInspector | ( | const std::string & | className, |
const ParametersDoc | paramsDoc, | ||
const Parameters & | params | ||
) |
Definition at line 52 of file InspectorsImpl.cpp.
InspectorsImpl< T >::PerformanceInspector::PerformanceInspector | ( | const Parameters & | params | ) |
Definition at line 62 of file InspectorsImpl.cpp.
|
virtual |
Add a value for statistics name, create it if new.
Reimplemented from PointMatcher< T >::Inspector.
Definition at line 70 of file InspectorsImpl.cpp.
|
inlinestatic |
Definition at line 78 of file InspectorsImpl.h.
|
inlinestatic |
Definition at line 74 of file InspectorsImpl.h.
|
virtual |
Dump all statistics in CSV format.
Reimplemented from PointMatcher< T >::Inspector.
Definition at line 83 of file InspectorsImpl.cpp.
|
virtual |
Dump header for all statistics.
Reimplemented from PointMatcher< T >::Inspector.
Definition at line 97 of file InspectorsImpl.cpp.
const std::string InspectorsImpl< T >::PerformanceInspector::baseFileName |
Definition at line 87 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::PerformanceInspector::bDumpPerfOnExit |
Definition at line 90 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::PerformanceInspector::bDumpStats |
Definition at line 91 of file InspectorsImpl.h.
|
protected |
Definition at line 96 of file InspectorsImpl.h.