* * 算法流程 * * 程序伪代码 For each particle Initialize particle End Do For each particle Calculate fitness value If the fitness value is better than the best fitness value (pbest) in history set current valu