#include <SelectedOutputCostFunction.h>
Inheritance diagram for PLearn::SelectedOutputCostFunction:
Public Member Functions | |
SelectedOutputCostFunction () | |
SelectedOutputCostFunction (Ker the_costfunc, int the_outputindex) | |
PLEARN_DECLARE_OBJECT (SelectedOutputCostFunction) | |
virtual string | info () const |
returns a bit more informative string about object (default returns classname()) | |
virtual void | makeDeepCopyFromShallowCopy (map< const void *, void * > &copies) |
virtual real | evaluate (const Vec &output, const Vec &target) const |
returns K(x1,x2) | |
Static Protected Member Functions | |
void | declareOptions (OptionList &ol) |
recognized option are "outputindex" and "costfunc" | |
Protected Attributes | |
Ker | costfunc |
int | outputindex |
Private Types | |
typedef Kernel | inherited |
Definition at line 55 of file SelectedOutputCostFunction.h.
|
Reimplemented from PLearn::Kernel. Definition at line 57 of file SelectedOutputCostFunction.h. |
|
Definition at line 64 of file SelectedOutputCostFunction.h. References costfunc, and outputindex. |
|
Definition at line 65 of file SelectedOutputCostFunction.h. References costfunc, and outputindex. |
|
recognized option are "outputindex" and "costfunc"
Reimplemented from PLearn::Kernel. Definition at line 61 of file SelectedOutputCostFunction.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
returns K(x1,x2)
Implements PLearn::Kernel. Definition at line 58 of file SelectedOutputCostFunction.cc. References costfunc, outputindex, PLearn::TVec< T >::subVec(), and PLearn::Vec. |
|
returns a bit more informative string about object (default returns classname())
Reimplemented from PLearn::Object. Definition at line 70 of file SelectedOutputCostFunction.h. References costfunc, outputindex, and PLearn::tostring(). |
|
Definition at line 52 of file SelectedOutputCostFunction.cc. References costfunc, and PLearn::deepCopyField(). |
|
|
|
Definition at line 60 of file SelectedOutputCostFunction.h. Referenced by evaluate(), info(), makeDeepCopyFromShallowCopy(), and SelectedOutputCostFunction(). |
|
Definition at line 61 of file SelectedOutputCostFunction.h. Referenced by evaluate(), info(), and SelectedOutputCostFunction(). |