Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::ScaledLaplacianKernel Class Reference

returns exp(-(sum_i[abs(x1_i - x2_i)*phi_i])) More...

#include <ScaledLaplacianKernel.h>

Inheritance diagram for PLearn::ScaledLaplacianKernel:

Inheritance graph
[legend]
Collaboration diagram for PLearn::ScaledLaplacianKernel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScaledLaplacianKernel ()
 ScaledLaplacianKernel (Vec the_phi)
 PLEARN_DECLARE_OBJECT (ScaledLaplacianKernel)
virtual void makeDeepCopyFromShallowCopy (map< const void *, void * > &copies)
virtual real evaluate (const Vec &x1, const Vec &x2) const
 returns K(x1,x2)


Protected Attributes

Vec phi

Private Types

typedef Kernel inherited

Detailed Description

returns exp(-(sum_i[abs(x1_i - x2_i)*phi_i]))

Definition at line 54 of file ScaledLaplacianKernel.h.


Member Typedef Documentation

typedef Kernel PLearn::ScaledLaplacianKernel::inherited [private]
 

Reimplemented from PLearn::Kernel.

Definition at line 56 of file ScaledLaplacianKernel.h.


Constructor & Destructor Documentation

PLearn::ScaledLaplacianKernel::ScaledLaplacianKernel  )  [inline]
 

Definition at line 61 of file ScaledLaplacianKernel.h.

References phi.

PLearn::ScaledLaplacianKernel::ScaledLaplacianKernel Vec  the_phi  )  [inline]
 

Definition at line 63 of file ScaledLaplacianKernel.h.

References phi.


Member Function Documentation

real PLearn::ScaledLaplacianKernel::evaluate const Vec x1,
const Vec x2
const [virtual]
 

returns K(x1,x2)

Implements PLearn::Kernel.

Definition at line 57 of file ScaledLaplacianKernel.cc.

References PLearn::TVec< T >::data(), PLearn::exp(), PLearn::TVec< T >::length(), phi, and PLERROR.

void PLearn::ScaledLaplacianKernel::makeDeepCopyFromShallowCopy map< const void *, void * > &  copies  )  [virtual]
 

Definition at line 51 of file ScaledLaplacianKernel.cc.

References PLearn::deepCopyField(), and phi.

PLearn::ScaledLaplacianKernel::PLEARN_DECLARE_OBJECT ScaledLaplacianKernel   ) 
 


Member Data Documentation

Vec PLearn::ScaledLaplacianKernel::phi [protected]
 

Definition at line 59 of file ScaledLaplacianKernel.h.

Referenced by evaluate(), makeDeepCopyFromShallowCopy(), and ScaledLaplacianKernel().


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:23:43 2004 for PLearn by doxygen 1.3.7