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