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

📄 swarm_tools.h

📁 用C编写的粒子群寻优的优化算法
💻 H
字号:
struct particle 		init_particle(struct graph G);
struct swarm			init_swarm(int size, struct graph G,int trace);
//int						no_hope(struct swarm sw,int swarm_size, int adaptive,float nohope,int hood);
struct swarm 			reduce_swarm(struct swarm sw);
//struct swarm			re_hope(struct swarm sw,int swarm_size,int trace,int auto_move_type,int monotony,int levelling);
void					save_swarm(FILE *file,struct swarm sw);
struct swarm			sw_arcs(struct swarm sw);
double                        tot_vel(struct swarm sw);
//float					threshold(struct particle best,struct val val,struct graph G);

⌨️ 快捷键说明

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