| 查看: 216 | 回复: 0 | |||
[求助]
有关鱼群算法流程的文献,有几句不是很懂,求虫友指导
|
|
1 To generate initialization groups: set the initial bulletin board iterations which record the best state of artificial fish not changed or changed little: Beststep←0, the initial number of iterations Num. ← 0, N which represents the number of artificial fish is randomly generated under controlling. 2 To calculate initial value on bulletin board: calculate the initial the artificial f ish value in the initial fish swarm,,and compare the value, take Y as the minimum to enter the bulletin board, this fish is assigned to the bulletin board.3 To choices behavior: the artificial fish respectively Simulates rear-end behavior and clusters behavior, comparing the value, the smaller Y was selected, the acts accordingly are implemented, the default behavior is foraging behavior. 4 Bulletin board: after each operation, testing their value among them, if superior, replace it, and set Beststep←0. 5 Mutation of conditional: if the number of the value Beststep do not change reached the maximum threshold maxbest consecutively, the implementation goes to step (6); otherwise go to step (7). 6 Mutation operation: In addition to the fish in the best individual outside bulletin board, all other artificial fish follows these steps. 6.1The dimension of all the various artificial fish generates random numbers r∈(0,1),is mutation probability. The dimension of the individual is randomly initialized; otherwise the dimensions of the artificial fish remain the same. 6.2 To calculate the value Y of the formation of new artificial fish, and to compare with the optimal value on the bulletin board, if better than the bulletin board, the new artificial replaces it. 6.3 To set Beststep←0. 7 Termination of conditional: if Num has reached the preset maximum number of iterations maxnumber or the optimal solution is satisfactory within the error bounds|y_n-y_(n+1) |<ε,ε>0 is a very small positive number, if not met, then Num← Num+1,Beststep←Beststep+ 1, go to step (3),the next fish swarm optimization process begins; otherwise goes to step (8). 8 To terminate the algorithm, output the optimal solution. ![]() |
» 猜你喜欢
遇见不省心的家人很难过
已经有23人回复
天津大学招2026.09的博士生,欢迎大家推荐交流(博导是本人)
已经有6人回复
AI 太可怕了,写基金时,提出想法,直接生成的文字比自己想得深远,还有科学性
已经有6人回复
有院领导为了换新车,用横向课题经费买了俩车
已经有9人回复
酰胺脱乙酰基
已经有13人回复
博士延得我,科研能力直往上蹿
已经有8人回复
同年申请2项不同项目,第1个项目里不写第2个项目的信息,可以吗
已经有4人回复
有时候真觉得大城市人没有县城人甚至个体户幸福
已经有10人回复













ish value in the initial fish swarm,,and compare the value, take Y as the minimum to enter the bulletin board, this fish is assigned to the bulletin board.
回复此楼