📄 objfcn.3.man
字号:
OBJFCN(virtual) OBJECTIVE FUNCTIONS OBJFCN(virtual) Jun 1 15:19NAME ObjFcnSYNOPSIS #include <ObjFcn.hh> class ObjectiveFunction \fIPublic members\fP ObjectiveFunction(int n); virtual ~ObjectiveFunction(); virtual const char* className() const; double performance(Model<long>& p); double performance(Model<double>& p); int iterations(); virtual Vector<double>* getGradient(Model<double>&); virtual Vector<double>* getGradient(Model<long>&); \fIProtected members\fP int nparam; int niteration; Vector<double>* gradient; virtual double realPerformance(Model<long>& p) = 0 ; virtual double realPerformance(Model<double>& p) = 0;DESCRIPTION ObjectiveFunction This is the base class for general objective functions for optimizations. Classes derived from this class inherit features of ObjectiveFunction. This class cannot be used directly. See also DirectObjFcn, MisFit, RosenBrock, MultiTest, Quadr. CAVEATS ObjectiveFunction currently only takes Models either double or long integer. It is mostly because I tried to avoid using templates, due to the guliness of template features in G++. Hopefully, this could be changed soon.DEFINED MACROS OBJECTIVEFUNCTION_HHINCLUDED FILES <C++.hh>SOURCE FILES ObjFcn.cc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -