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

PLearn::LaplacianKernel Class Reference

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

#include <LaplacianKernel.h>

Inheritance diagram for PLearn::LaplacianKernel:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LaplacianKernel ()
 LaplacianKernel (real the_phi)
 PLEARN_DECLARE_OBJECT (LaplacianKernel)
virtual real evaluate (const Vec &x1, const Vec &x2) const
 returns K(x1,x2)


Static Protected Member Functions

void declareOptions (OptionList &ol)
 recognized option is "phi"


Protected Attributes

real phi

Private Types

typedef Kernel inherited

Detailed Description

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

Definition at line 54 of file LaplacianKernel.h.


Member Typedef Documentation

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

Reimplemented from PLearn::Kernel.

Definition at line 56 of file LaplacianKernel.h.


Constructor & Destructor Documentation

PLearn::LaplacianKernel::LaplacianKernel  )  [inline]
 

Definition at line 61 of file LaplacianKernel.h.

References phi.

PLearn::LaplacianKernel::LaplacianKernel real  the_phi  )  [inline]
 

Definition at line 63 of file LaplacianKernel.h.

References phi.


Member Function Documentation

void PLearn::LaplacianKernel::declareOptions OptionList ol  )  [static, protected]
 

recognized option is "phi"

Reimplemented from PLearn::Kernel.

Definition at line 67 of file LaplacianKernel.cc.

References PLearn::declareOption(), and PLearn::OptionList.

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

returns K(x1,x2)

Implements PLearn::Kernel.

Definition at line 51 of file LaplacianKernel.cc.

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

PLearn::LaplacianKernel::PLEARN_DECLARE_OBJECT LaplacianKernel   ) 
 


Member Data Documentation

real PLearn::LaplacianKernel::phi [protected]
 

Definition at line 59 of file LaplacianKernel.h.

Referenced by evaluate(), and LaplacianKernel().


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