multitest.3.man
来自「COOOL:CWP面向对象最优化库(CWP Object Oriented Op」· MAN 代码 · 共 51 行
MAN
51 行
MULTITEST(derived) OBJECTIVE FUNCTIONS MULTITEST(derived) Jun 1 15:19NAME MultiTestSYNOPSIS #include <MultiTest.hh> class MultiTest : public ObjectiveFunction \fIPublic members\fP MultiTest(int n); ~MultiTest(); const char* className() const; Vector<double> gradient(Model<double>&); Vector<double> gradient(Model<long>&); \fIProtected members\fP double realPerformance(Model<double>&); double realPerformance(Model<long>&); int mySize() const;DESCRIPTION MultiTest This is a simple 2-D multimodal analytical function for testing optimization algortithms. The function looks like f = m[0]^2+2m[1]^2-0.3Cos(2Pi m[0])-0.4Cos(4Pi m[1]+0.7). See also ObjFcn CAVEATS MultiTest 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 MULTI_TEST_HHINCLUDED FILES "ObjFcn.hh" <C++.hh> <math.h>SOURCE FILES MultiTest.cc
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?