objfcn.3.man

来自「COOOL:CWP面向对象最优化库(CWP Object Oriented Op」· MAN 代码 · 共 54 行

MAN
54
字号
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 + =
减小字号Ctrl + -
显示快捷键?