⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 math_add.h

📁 离散粒子群算法(Discrete PSO)C语言源代码。 附带有利用D-PSO解决旅行商问题(TSP)的代码可作为使用时的Demo参考
💻 H
字号:
// Prototypesint				alea(int min,int max);int				alea_diff(int min, int max, int num);float			alea_float(float min, float max);int check_seq(struct seq s);int 			fact(int n); // n!float 			MAX(float a,float b);float 			MIN(float a,float b);float 			max_eig(struct coeff c, float phi);float 			max_eig_basic(float phi);struct seq 		rotate(struct seq s,int k);struct seq		seq(int k,int N);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -