PLearn 0.1
|
returns sum_i[x1_i-x2_i] More...
#include <DifferenceKernel.h>
Public Member Functions | |
DifferenceKernel () | |
virtual string | classname () const |
virtual OptionList & | getOptionList () const |
virtual OptionMap & | getOptionMap () const |
virtual RemoteMethodMap & | getRemoteMethodMap () const |
virtual DifferenceKernel * | deepCopy (CopiesMap &copies) const |
virtual real | evaluate (const Vec &x1, const Vec &x2) const |
** Subclasses must override this method ** | |
Static Public Member Functions | |
static string | _classname_ () |
static OptionList & | _getOptionList_ () |
static RemoteMethodMap & | _getRemoteMethodMap_ () |
static Object * | _new_instance_for_typemap_ () |
static bool | _isa_ (const Object *o) |
static void | _static_initialize_ () |
static const PPath & | declaringFile () |
Static Public Attributes | |
static StaticInitializer | _static_initializer_ |
Private Types | |
typedef Kernel | inherited |
returns sum_i[x1_i-x2_i]
Definition at line 55 of file DifferenceKernel.h.
typedef Kernel PLearn::DifferenceKernel::inherited [private] |
Reimplemented from PLearn::Kernel.
Definition at line 57 of file DifferenceKernel.h.
PLearn::DifferenceKernel::DifferenceKernel | ( | ) | [inline] |
Definition at line 60 of file DifferenceKernel.h.
{}
string PLearn::DifferenceKernel::_classname_ | ( | ) | [static] |
Reimplemented from PLearn::Kernel.
Definition at line 54 of file DifferenceKernel.cc.
OptionList & PLearn::DifferenceKernel::_getOptionList_ | ( | ) | [static] |
Reimplemented from PLearn::Kernel.
Definition at line 54 of file DifferenceKernel.cc.
RemoteMethodMap & PLearn::DifferenceKernel::_getRemoteMethodMap_ | ( | ) | [static] |
Reimplemented from PLearn::Kernel.
Definition at line 54 of file DifferenceKernel.cc.
Reimplemented from PLearn::Kernel.
Definition at line 54 of file DifferenceKernel.cc.
Object * PLearn::DifferenceKernel::_new_instance_for_typemap_ | ( | ) | [static] |
Reimplemented from PLearn::Object.
Definition at line 54 of file DifferenceKernel.cc.
StaticInitializer DifferenceKernel::_static_initializer_ & PLearn::DifferenceKernel::_static_initialize_ | ( | ) | [static] |
Reimplemented from PLearn::Kernel.
Definition at line 54 of file DifferenceKernel.cc.
string PLearn::DifferenceKernel::classname | ( | ) | const [virtual] |
Reimplemented from PLearn::Object.
Definition at line 54 of file DifferenceKernel.cc.
static const PPath& PLearn::DifferenceKernel::declaringFile | ( | ) | [inline, static] |
Reimplemented from PLearn::Kernel.
Definition at line 62 of file DifferenceKernel.h.
DifferenceKernel * PLearn::DifferenceKernel::deepCopy | ( | CopiesMap & | copies | ) | const [virtual] |
Reimplemented from PLearn::Kernel.
Definition at line 54 of file DifferenceKernel.cc.
** Subclasses must override this method **
returns K(x1,x2)
Implements PLearn::Kernel.
Definition at line 55 of file DifferenceKernel.cc.
References i, and PLearn::TVec< T >::length().
OptionList & PLearn::DifferenceKernel::getOptionList | ( | ) | const [virtual] |
Reimplemented from PLearn::Object.
Definition at line 54 of file DifferenceKernel.cc.
OptionMap & PLearn::DifferenceKernel::getOptionMap | ( | ) | const [virtual] |
Reimplemented from PLearn::Object.
Definition at line 54 of file DifferenceKernel.cc.
RemoteMethodMap & PLearn::DifferenceKernel::getRemoteMethodMap | ( | ) | const [virtual] |
Reimplemented from PLearn::Object.
Definition at line 54 of file DifferenceKernel.cc.
Reimplemented from PLearn::Kernel.
Definition at line 62 of file DifferenceKernel.h.