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

PLearn::DirectNegativeCostFunction Class Reference

#include <DirectNegativeCostFunction.h>

Inheritance diagram for PLearn::DirectNegativeCostFunction:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DirectNegativeCostFunction ()
 PLEARN_DECLARE_OBJECT (DirectNegativeCostFunction)
virtual string info () const
 returns a bit more informative string about object (default returns classname())

virtual real evaluate (const Vec &output, const Vec &target) const
 returns K(x1,x2)


Private Types

typedef Kernel inherited

Member Typedef Documentation

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

Reimplemented from PLearn::Kernel.

Definition at line 53 of file DirectNegativeCostFunction.h.


Constructor & Destructor Documentation

PLearn::DirectNegativeCostFunction::DirectNegativeCostFunction  )  [inline]
 

Definition at line 56 of file DirectNegativeCostFunction.h.


Member Function Documentation

real PLearn::DirectNegativeCostFunction::evaluate const Vec output,
const Vec target
const [virtual]
 

returns K(x1,x2)

Implements PLearn::Kernel.

Definition at line 51 of file DirectNegativeCostFunction.cc.

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

virtual string PLearn::DirectNegativeCostFunction::info  )  const [inline, virtual]
 

returns a bit more informative string about object (default returns classname())

Reimplemented from PLearn::Object.

Definition at line 61 of file DirectNegativeCostFunction.h.

PLearn::DirectNegativeCostFunction::PLEARN_DECLARE_OBJECT DirectNegativeCostFunction   ) 
 


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