登录
首页 » matlab » firefly_simple

firefly_simple

于 2021-04-21 发布 文件大小:2KB
0 248
下载积分: 1 下载次数: 79

代码说明:

  萤火虫算法(Firefly Algorithm)是一种启发式算法,灵感来自于萤火虫闪烁的行为。萤火虫的闪光,其主要目的是作为一个信号系统,以吸引其他的萤火虫。剑桥大学的Xin-She Yang(音译:杨新社)教授提出了萤火虫算法,其假设为[1]: 萤火虫不分性别,这样一个萤火虫将会吸引到所有其他的萤火虫 吸引力与它们的亮度成正比,对于任何两个萤火虫,不那么明亮的萤火虫被吸引,因此移动到更亮的一个,然而,亮度又随着其距离的增加而减少 如果没有比一个给定的萤火虫更亮的萤火虫,它会随机移动。 亮度应与目标函数联系起来。萤火虫算法是以自然为灵感的启发式优化算法(The Firefly Algorithm (are) Algorithm is a kind of heuristic Algorithm, inspired by the behavior of the fireflies flash. Fireflies flash, its main purpose is to as a signaling system, to attract other fireflies. The university of Cambridge, Xin- She Yang (transliteration: Yang Xinshe) professor firefly algorithm is proposed, its hypothesis in [1]. Fireflies regardless of gender, such a firefly will attract all the other fireflies Attractive proportional to their brightness, for any two fireflies, less bright fireflies are attracted, so moving to a brighter, however, brightness and reduce with the increase of the distance If there is no more than a given fireflies light of fireflies, it will move randomly. Brightness should be linked with the objective function. The firefly algorithm based on natural inspiration of heuristic optimization algorithm)

文件列表:

firefly_simple.m,5008,2014-11-05

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • morphtool
    has all operation included in morphology
    2010-08-03 00:05:44下载
    积分:1
  • ZOOMChoose
    说明:  matlab编制的选频相位补偿细化源程序。(matlab compiled detailed source frequency-selective phase compensation.)
    2010-03-22 22:09:26下载
    积分:1
  • GA
    说明:  采用遗传算法计算函数的最大值问题的MATLAB程序(MATLAB program using genetic algorithm to compute the function maximum)
    2012-10-10 20:42:15下载
    积分:1
  • New-folder-(3)
    matlab code for h infinity filter.
    2012-04-18 03:13:07下载
    积分:1
  • 4-order-M-series
    生成4阶M序列的matlab程序,这是一个function函数,应用时在matlab上输入一个初始向量(Generation 4 order M series of matlab program, this is a function function, application in matlab input a initial vector)
    2012-04-18 10:45:28下载
    积分:1
  • simulatecopula
    copula的蒙特卡洛模拟,随机生成各种Copula函数。(simulate copula)
    2012-07-08 23:03:13下载
    积分:1
  • Isomap
    这个程序对于学习流行学习算法的朋友很有借鉴意义,在matlab上能够运行。(This program for the popular learning algorithm friends is of great significance, to be able to run in matlab. )
    2014-09-20 14:58:51下载
    积分:1
  • shuxuemoxing
    1,某厂向用户提供发动机,合同规定,第一、二、三季度末分别交货40台、60台、80台.每季度的生产费用为 f=ax+bx^2(元),其中x是该季生产的台数.若交货后有剩余,可用于下季度交货,但需支付存储费,每台每季度c元.已知工厂每季度最大生产能力为100台,第一季度开始时无存货,设a=50、b=0.2、c=4,问工厂应如何安排生产计划,才能既满足合同又使总费用最低. 2,函数的输入为A,B两个矩阵,实现如下功能:从A矩阵中找出与B完全相同的子矩阵,并将该子矩阵左上角的位置保存到2*n的向量index中,最后函数返回A中所有与B完全相同的子矩阵的左上角坐标。(1, a factory to provide users with the engine, the provisions of the contract, first, second and third quarter, respectively Delivery 40 units, 60 units, 80 units. The production cost of each quarter the f = ax+bx ^ 2 ($), where x is the number of Taiwan-quarter production. If after delivery, the surplus can be used for delivery next quarter, but to pay the storage fees, each quarterly c. Factory known each quarter of the maximum production capacity of 100 units of stock in the first quarter, setting a = 50, b = 0.2, c = 4, asked how the factory should arrange production plan, in order to both meet the contract and the lowest total cost of . 2, the function' s input is the two matrices A, B, to achieve the following functions: to identify from the matrix A and B are identical sub-matrix, and a position in the upper-left corner of the sub-matrix is ​ ​ saved to the vector index of 2* n, The last function returns the coordinates of the upper left corner of the sub-matrices A)
    2013-04-14 00:28:15下载
    积分:1
  • Histogram-equalization
    Histogram equalizationHistogram equalizationHistogram equalizationHistogram equalizationHistogram equalization
    2014-02-19 20:40:02下载
    积分:1
  • New WinRAR ZIP archive
    matlab code euler backward
    2018-09-08 13:19:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载