#include <PricingTransactionPairProfitFunction.h>
Inheritance diagram for PLearn::PricingTransactionPairProfitFunction:
Public Member Functions | |
PricingTransactionPairProfitFunction () | |
PricingTransactionPairProfitFunction (real the_multiplicative_cost, real the_additive_cost=0, real the_per_unit_cost=0) | |
PLEARN_DECLARE_OBJECT (PricingTransactionPairProfitFunction) | |
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) |
Recognized options: all 3 fields. | |
Protected Attributes | |
real | multiplicative_cost |
transaction loss | |
real | additive_cost |
transaction loss | |
real | per_unit_cost |
transaction loss | |
Private Types | |
typedef Kernel | inherited |
where additive_cost, multiplicative_cost, per_unit_cost are user-specified parameters that control transaction losses
Definition at line 67 of file PricingTransactionPairProfitFunction.h.
|
Reimplemented from PLearn::Kernel. Definition at line 69 of file PricingTransactionPairProfitFunction.h. |
|
Definition at line 76 of file PricingTransactionPairProfitFunction.h. |
|
Definition at line 77 of file PricingTransactionPairProfitFunction.h. References additive_cost, multiplicative_cost, and per_unit_cost. |
|
Recognized options: all 3 fields.
Reimplemented from PLearn::Kernel. Definition at line 63 of file PricingTransactionPairProfitFunction.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
returns K(x1,x2)
Implements PLearn::Kernel. Definition at line 51 of file PricingTransactionPairProfitFunction.cc. References additive_cost, multiplicative_cost, per_unit_cost, and PLearn::Vec. |
|
returns a bit more informative string about object (default returns classname())
Reimplemented from PLearn::Object. Definition at line 85 of file PricingTransactionPairProfitFunction.h. |
|
|
|
transaction loss
Definition at line 73 of file PricingTransactionPairProfitFunction.h. Referenced by evaluate(), and PricingTransactionPairProfitFunction(). |
|
transaction loss
Definition at line 72 of file PricingTransactionPairProfitFunction.h. Referenced by evaluate(), and PricingTransactionPairProfitFunction(). |
|
transaction loss
Definition at line 74 of file PricingTransactionPairProfitFunction.h. Referenced by evaluate(), and PricingTransactionPairProfitFunction(). |