directobjfcn.3.man
来自「COOOL:CWP面向对象最优化库(CWP Object Oriented Op」· MAN 代码 · 共 60 行
MAN
60 行
OBJFCN(derived) OBJECTIVE FUNCTIONS OBJFCN(derived) Nov 20 09:44NAME ObjFcnSYNOPSIS #include <DirectObjFcn.hh> class DirectObjFcn: public ObjectiveFunction \fIPublic members\fP DirectObjFcn(int, SlaveForward*); DirectObjFcn(int, SlaveForward*, int); ~DirectObjFcn(); const char* className() const; const char* forwardName() const; \fIProtected members\fP double realPerformance(const Model<long>&); double realPerformance(const Model<double>&); Vector<double>* getGradient(const Model<double>&); Vector<double>* getGradient(const Model<long>&); \fIPrivate members\fP SlaveForward* forOp; int isUpdated; int given_g; DESCRIPTION DirectObjectiveFunction This is a class of customerized objective function passes through SlaveForward. When the user-written objective-function evaluation code is used for the optimization, this class should be used for passing values to the optimizer. See also SlaveForward, ObjFcn. Both value and derivatives can be passed through this class. You can choose either providing your own derivative evaluation or using the finite-difference scheme provided by COOOL. CAVEATS DEFINED MACROS DIRECT_OBJECTIVE_FUNCTION_HHINCLUDED FILES <C++.hh> "SlaveForward.hh" "ObjFcn.hh"SOURCE FILES DirectObjFcn.cc
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?