Machine Learning Library
Public Member Functions | List of all members
CDoubleExponentialKernel< Type > Class Template Reference

Double-Exponential kernel function. More...

#include <CKernel.h>

Inheritance diagram for CDoubleExponentialKernel< Type >:
CKernel< Type > CObject< Type >

Public Member Functions

 CDoubleExponentialKernel (Type tBandwidth=1)
 
 CDoubleExponentialKernel (const CDoubleExponentialKernel< Type > &rtKernel)
 
 ~CDoubleExponentialKernel ()
 
CDoubleExponentialKernel< Type > & operator= (const CDoubleExponentialKernel< Type > &rtKernel)
 
CDoubleExponentialKernel< Type > * clone () const
 
Type execute (const CVector< Type > &rtVector1, const CVector< Type > &rtVector2) const
 
Type execute (const CVector< Type > &rtVector1, const Type *ptVector2) const
 
Type execute (const Type *ptVector1, const Type *ptVector2, int iDim) const
 
Type execute (Type tValue) const
 
string factoryObject ()
 
virtual string className () const
 Returns the class name. More...
 
virtual bool isA (const char *acClass) const
 Check if the object is an instance of the class with given name. More...
 
- Public Member Functions inherited from CKernel< Type >
 CKernel (Type tBandwidth=-1.0)
 
virtual ~CKernel ()
 
Type bandwidth () const
 
void setBandwidth (Type tB)
 
virtual bool serialize (fstream &stream, IO_MODE mode)
 Read/write from binary stream. More...
 
virtual bool serialize2 (CArchiv &tA)
 
- Public Member Functions inherited from CObject< Type >
 CObject ()
 Constructor. More...
 
virtual ~CObject ()
 Destructor. More...
 
void setVerbose (VERBOSE_LEVEL tVerbose)
 Set the verbose level. More...
 
VERBOSE_LEVEL verbose (void) const
 Return current verbose level. More...
 
DATATYPE dataType () const
 Returns the template data type. More...
 

Additional Inherited Members

- Protected Attributes inherited from CObject< Type >
unsigned char ucVerbose
 

Detailed Description

template<class Type>
class CDoubleExponentialKernel< Type >

Double-Exponential kernel function.

Double-exponential kernel function:

\[ K(\mathbf{x},\mathbf{y}) = exp[ -\frac{|\mathbf{x}-\mathbf{y}|}{\sigma}] \]

Author
Thorsten Twellmann ttwel.nosp@m.lma@.nosp@m.TechF.nosp@m.ak.U.nosp@m.ni-Bi.nosp@m.elef.nosp@m.eld.d.nosp@m.e

Constructor & Destructor Documentation

template<class Type>
CDoubleExponentialKernel< Type >::CDoubleExponentialKernel ( Type  tBandwidth = 1)
template<class Type>
CDoubleExponentialKernel< Type >::CDoubleExponentialKernel ( const CDoubleExponentialKernel< Type > &  rtKernel)
template<class Type>
CDoubleExponentialKernel< Type >::~CDoubleExponentialKernel ( )

Member Function Documentation

template<class Type>
virtual string CDoubleExponentialKernel< Type >::className ( ) const
inlinevirtual

Returns the class name.

Reimplemented from CKernel< Type >.

Referenced by CDoubleExponentialKernel< Type >::isA().

template<class Type>
CDoubleExponentialKernel<Type>* CDoubleExponentialKernel< Type >::clone ( ) const
virtual

Implements CKernel< Type >.

template<class Type>
Type CDoubleExponentialKernel< Type >::execute ( const CVector< Type > &  rtVector1,
const CVector< Type > &  rtVector2 
) const
inlinevirtual

Implements CKernel< Type >.

template<class Type>
Type CDoubleExponentialKernel< Type >::execute ( const CVector< Type > &  rtVector1,
const Type *  ptVector2 
) const
inlinevirtual

Implements CKernel< Type >.

template<class Type>
Type CDoubleExponentialKernel< Type >::execute ( const Type *  ptVector1,
const Type *  ptVector2,
int  iDim 
) const
inlinevirtual

Implements CKernel< Type >.

template<class Type>
Type CDoubleExponentialKernel< Type >::execute ( Type  tValue) const
inlinevirtual

Implements CKernel< Type >.

template<class Type>
string CDoubleExponentialKernel< Type >::factoryObject ( )
inlinevirtual

Implements CKernel< Type >.

template<class Type>
virtual bool CDoubleExponentialKernel< Type >::isA ( const char *  acClass) const
inlinevirtual

Check if the object is an instance of the class with given name.

Reimplemented from CKernel< Type >.

References CDoubleExponentialKernel< Type >::className(), and CKernel< Type >::isA().

template<class Type>
CDoubleExponentialKernel<Type>& CDoubleExponentialKernel< Type >::operator= ( const CDoubleExponentialKernel< Type > &  rtKernel)

The documentation for this class was generated from the following file: