摘要: #include #include #include using namespace std; #define M 50 //群体数目50 #define N 4 //每个粒子的维数4 #define NN 100 //迭代次数 //测试类 class TestFunction { public: double resen(double x1,doubl... 阅读全文
posted @ 2016-01-21 20:11 小德cyj 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 参考文献: 量子行为粒子群优化算法研究[D] ,孙俊,博士论文2.4节.#include #include #include using namespace std;#define M 50 //群体数目50#define N 4 //每个粒子的维数4//测试类class TestFunct... 阅读全文
posted @ 2016-01-21 19:03 小德cyj 阅读(4066) 评论(0) 推荐(0) 编辑