#include <QuadraticUtilityCostFunction.h>
Inheritance diagram for PLearn::QuadraticUtilityCostFunction:
Public Member Functions | |
QuadraticUtilityCostFunction () | |
QuadraticUtilityCostFunction (real the_risk_aversion, CostFunc the_profit) | |
PLEARN_DECLARE_OBJECT (QuadraticUtilityCostFunction) | |
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) | |
Static Protected Member Functions | |
void | declareOptions (OptionList &ol) |
Protected Attributes | |
real | risk_aversion |
ProfitFunc | profit_function |
Private Types | |
typedef Kernel | inherited |
Definition at line 55 of file QuadraticUtilityCostFunction.h.
|
Reimplemented from PLearn::Kernel. Definition at line 57 of file QuadraticUtilityCostFunction.h. |
|
Definition at line 63 of file QuadraticUtilityCostFunction.h. |
|
Definition at line 64 of file QuadraticUtilityCostFunction.h. References PLearn::CostFunc, profit_function, and risk_aversion. |
|
Recognized option: "risk_aversion". ALSO: options of the form "profit_function.XXX" are passed to the profit_function kernel as "XXX". Reimplemented from PLearn::Kernel. Definition at line 56 of file QuadraticUtilityCostFunction.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
returns K(x1,x2)
Implements PLearn::Kernel. Definition at line 50 of file QuadraticUtilityCostFunction.cc. References profit_function, risk_aversion, and PLearn::Vec. |
|
returns a bit more informative string about object (default returns classname())
Reimplemented from PLearn::Object. Definition at line 70 of file QuadraticUtilityCostFunction.h. |
|
|
|
Definition at line 61 of file QuadraticUtilityCostFunction.h. Referenced by evaluate(), and QuadraticUtilityCostFunction(). |
|
Definition at line 60 of file QuadraticUtilityCostFunction.h. Referenced by evaluate(), and QuadraticUtilityCostFunction(). |