📄 directobjfcn.3.man
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -