|
bitsim
Model, simulate, estimate and control robots in C++
|
The LpMetric class It conforms to the metric policy. More...
#include <lp_metric.h>
Public Types | |
| typedef real_t | cost_type |
| typedef real_t | value_type |
Public Member Functions | |
| LpMetric ()=default | |
| Default constructor. It is required to satisfy the metric policy. | |
| real_t | operator() (const DynVec< real_t > &v1, const DynVec< real_t > &v2) const |
| Overload operator(). | |
Static Public Member Functions | |
| static real_t | tolerance () |
| Tolerance used by the class. | |
| static real_t | evaluate (const DynVec< real_t > &v1, const DynVec< real_t > &v2) |
| evaluate | |
| static real_t | evaluate (const std::vector< real_t > &v1, const std::vector< real_t > &v2) |
| evaluate | |
Static Public Attributes | |
| static const int | Power = P |
| static const bool | TakeRoot = TTakeRoot |
| static real_t | tolerance_value |
The LpMetric class It conforms to the metric policy.
| typedef real_t bitrl::maths::LpMetric< P, TTakeRoot >::cost_type |
| typedef real_t bitrl::maths::LpMetric< P, TTakeRoot >::value_type |
|
default |
Default constructor. It is required to satisfy the metric policy.
|
static |
evaluate
|
static |
evaluate
| real_t bitrl::maths::LpMetric< P, TTakeRoot >::operator() | ( | const DynVec< real_t > & | v1, |
| const DynVec< real_t > & | v2 ) const |
Overload operator().
|
inlinestatic |
Tolerance used by the class.
|
static |
|
static |
|
static |