37 template<
class Type>
class CVector;
54 virtual string className()
const {
return "CMetric";};
77 virtual string className()
const {
return string(
"CEuclideanMetric");};
100 virtual string className()
const {
return string(
"CEuclideanMetric2");};
123 virtual string className()
const {
return string(
"CManhattenMetric");};
146 virtual string className()
const {
return string(
"CMaximumMetric");};
169 virtual string className()
const {
return string(
"CScalarMetric");};
193 virtual string className()
const {
return string(
"CCoCosineMetric");};
216 virtual string className()
const {
return string(
"CAngleMetric");};
239 virtual string className()
const {
return string(
"CHyperbolicMetric");};
240 virtual bool isA(
const char* acClass)
const {
void adaptVec(CVector< Type > &rtVec1, const CVector< Type > &rtVec2, float fEps)
Manhatten metric object.
Definition: CMetric.h:112
virtual void adaptVec(CVector< Type > &rtVec1, const CVector< Type > &rtVec2, float fEps)
Definition: CMetric.h:56
void adaptVec(CVector< Type > &rtVec1, const CVector< Type > &rtVec2, float fEps)
Hyperbolic metric object.
Definition: CMetric.h:228
Euclidean2 metric object.
Definition: CMetric.h:89
Maximum metric object.
Definition: CMetric.h:135
virtual string className() const
Returns the class name.
Definition: CMetric.h:100
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CMetric.h:194
Type distance(const CVector< Type > &rtVec1, const CVector< Type > &rtVec2) const
Base class for metrix objects.
Definition: CMetric.h:36
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CMetric.h:240
Type distance(const CVector< Type > &rtVec1, const CVector< Type > &rtVec2) const
Euclidean metric object.
Definition: CMetric.h:66
void adaptVec(CVector< Type > &rtVec1, const CVector< Type > &rtVec2, float fEps)
Type distance(const CVector< Type > &rtVec1, const CVector< Type > &rtVec2) const
virtual string className() const
Returns the class name.
Definition: CMetric.h:77
Type distance(const CVector< Type > &rtVec1, const CVector< Type > &rtVec2) const
virtual string className() const
Returns the class name.
Definition: CMetric.h:216
Angle based metric object.
Definition: CMetric.h:205
Scalar metric object Template class for metric based on scalar product.
Definition: CMetric.h:157
virtual string className() const
Returns the class name.
Definition: CMetric.h:239
virtual string className() const
Returns the class name.
Definition: CMetric.h:193
virtual string className() const
Returns the class name.
Definition: CMetric.h:146
CoCosine metric object Template class for metric based on scalar product.
Definition: CMetric.h:181
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CMetric.h:78
void adaptVec(CVector< Type > &rtVec1, const CVector< Type > &rtVec2, float fEps)
virtual Type distance(const CVector< Type > &rtVec1, const CVector< Type > &rtVec2) const
Definition: CMetric.h:53
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CMetric.h:170
Type distance(const CVector< Type > &rtVec1, const CVector< Type > &rtVec2) const
virtual string className() const
Returns the class name.
Definition: CMetric.h:169
void adaptVec(CVector< Type > &rtVec1, const CVector< Type > &rtVec2, float fEps)
Type distance(const CVector< Type > &rtVec1, const CVector< Type > &rtVec2) const
Type distance(const CVector< Type > &rtVec1, const CVector< Type > &rtVec2) const
templatized vector for numerical applications
Definition: CMatrix.h:39
void adaptVec(CVector< Type > &rtVec1, const CVector< Type > &rtVec2, float fEps)
Base class for all object.
Definition: CObject.h:51
void adaptVec(CVector< Type > &rtVec1, const CVector< Type > &rtVec2, float fEps)
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CMetric.h:217
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CMetric.h:101
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CObject.h:93
void adaptVec(CVector< Type > &rtVec1, const CVector< Type > &rtVec2, float fEps)
Type distance(const CVector< Type > &rtVec1, const CVector< Type > &rtVec2) const
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CMetric.h:147
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CMetric.h:124
virtual string className() const
Returns the class name.
Definition: CMetric.h:54
virtual bool isA(const char *acClass) const
Check if the object is an instance of the class with given name.
Definition: CMetric.h:55
virtual string className() const
Returns the class name.
Definition: CMetric.h:123