提出了一种基于粒子群-细菌觅食的快速混合算法来计算数值积分的新方法,该算法根据被积函数的变量区间随机选取分割点,作为该算法的初始的群体,通过粒子群-细菌觅食算法优化积分区间的分割点,再求和,在给定的精度下可以得到精度较高数值积分.最后数值模拟实例结果证明可以求解通常意义下的任意数值积分,并且具有求解精度高,收敛速度快等优点.
This paper proposes a fast hybrid algorithm based on particle swarm - bacteria foraging to calculate a new method of numerical integration. The algorithm is based on random variable interval dividing point of integrand as the initial group, through the particle swarm - bacterial foraging algorithm to optimize the integral interval dividing point, then sum, and under a given accuracy a higher precision numerical integral can be obtained. Finally the results of numerical simulation examples prove that it can solve any numerical integration for general range, which has the feature of high precision and fast convergence rate, etc.