Machine Learning Library
|
Plummer kernel function. More...
#include <CKernel.h>
Public Member Functions | |
CPlummerKernel (Type tBandwidth=1) | |
~CPlummerKernel () | |
CPlummerKernel (const CPlummerKernel< Type > &tRef) | |
CPlummerKernel & | operator= (const CPlummerKernel< Type > &rtKernel) |
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 |
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... | |
virtual void | setEpsilon (Type tE) |
string | factoryObject () |
CPlummerKernel< Type > * | clone () const |
bool | serialize (fstream &stream, IO_MODE mode) |
Read/write from binary stream. More... | |
virtual bool | serialize2 (CArchiv &tA) |
![]() | |
CKernel (Type tBandwidth=-1.0) | |
virtual | ~CKernel () |
Type | bandwidth () const |
void | setBandwidth (Type tB) |
![]() | |
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... | |
Protected Attributes | |
double | m_dEpsilon |
![]() | |
unsigned char | ucVerbose |
Plummer kernel function.
Plummer kernel function:
CPlummerKernel< Type >::CPlummerKernel | ( | Type | tBandwidth = 1 | ) |
CPlummerKernel< Type >::~CPlummerKernel | ( | ) |
CPlummerKernel< Type >::CPlummerKernel | ( | const CPlummerKernel< Type > & | tRef | ) |
|
inlinevirtual |
Returns the class name.
Reimplemented from CKernel< Type >.
Referenced by CPlummerKernel< Type >::isA().
|
virtual |
Implements CKernel< Type >.
|
inlinevirtual |
Implements CKernel< Type >.
|
inlinevirtual |
Implements CKernel< Type >.
|
inlinevirtual |
Implements CKernel< Type >.
|
inlinevirtual |
Implements CKernel< Type >.
|
inlinevirtual |
Implements CKernel< Type >.
|
inlinevirtual |
Check if the object is an instance of the class with given name.
Reimplemented from CKernel< Type >.
References CPlummerKernel< Type >::className(), and CKernel< Type >::isA().
CPlummerKernel& CPlummerKernel< Type >::operator= | ( | const CPlummerKernel< Type > & | rtKernel | ) |
|
virtual |
Read/write from binary stream.
The functions handles different data types e.g for reading float objects in a double instance, etc.
fstream | Reference to binary stream |
mode | Switches between reading and writing |
Reimplemented from CKernel< Type >.
|
virtual |
Reimplemented from CKernel< Type >.
|
virtual |
|
protected |