Firefly Algorithm: Part II

This is an example code of Firefly algorithm to solve optimization problem.

http://www.alpsconsult.net

이 제출물을 팔로우합니다

It is convenient to explain the algorithm from the pseudo code. Considering the pseudo code of Firefly algorithm as given in Yang (2008)
Randomly generate n firefly populations
For k = 1: max_iterations
Initially, compute light intensity I (brightness) for each firefly
For i = 1: n
For j = 1:n (inner loop)
% update intensity for each firefly
if( < ), then move firefly i towards j
end
end
rank the fireflies and find the best global g (store the best solution for each iteration)
end

인용 양식

Adisorn Owatsiriwong (2026). Firefly Algorithm: Part II (https://kr.mathworks.com/matlabcentral/fileexchange/160078-firefly-algorithm-part-ii), MATLAB Central File Exchange. 검색 날짜: .

태그

태그 추가

Add the first tag.

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0