BAS天牛须搜索代码我要分享

Sawyer BAS must search code

天牛须 粒子群多目标 天牛须算法 BAS-MATLAB 天牛须搜索

关注次数: 567

下载次数: 4

文件大小: 1KB

代码分类: 智能算法

开发平台: matlab

下载需要积分: 1积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:

天牛须搜索( beetle antennae search,BAS) 算法是2017 年提出的一种基于天牛觅食原理的适用于多目标函数优化的新技术,其生物原理为: 当天牛觅食时,其并不知道食物在哪里,而是根据食物气味的强弱来觅食。天牛有两只长触角,如果左边触角收到的气味强度比右边大,那下一步天牛就会向左边飞,反之则向右飞。依据这一简单原理天牛就可以有效找到食物。与遗传算法、粒子群算法等类似,BAS 不需要知道函数的具体形式以及梯度信息,就可以自动实现寻优过程,且其个体仅为一个,寻优速度显著提高。


English Description:

Longicorn must search (beetle antennae search, BAS) algorithm is put forward in 2017 based on a principle of longicorn foraging for multi-objective function optimization of new technology, its biological principle is: the cows grazing on the same day, does not know where the food is, but according to the strength of the food taste for food.Sawyer, have two long horns, if left the smell of the antenna received strength is greater than the right, and that the next step sawyer, will fly to the left, or fly to the right.Based on the simple principle of sawyer, can effectively find food.With genetic algorithm (ga) and particle swarm optimization (pso) and similar, BAS don't need to know the function of the specific form and gradient information, can automatically realize the optimization process, and the individual is only a, significantly improve the speed optimization.


代码预览

BAS代码\BAS.m

BAS代码\BAS1.m

BAS代码\f.m

BAS代码