You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The primary purpose for a firefly's flash is to act as a signal system to attract other fireflies. Xin-She Yang formulated this firefly algorithm by assuming:
All fireflies are unisexual, so that any individual firefly will be attracted to all other fireflies;
Attractiveness is proportional to their brightness, and for any two fireflies, the less bright one will be attracted by (and thus move towards) the brighter one; however, the intensity (apparent brightness) decrease as their mutual distance increases;
If there are no fireflies brighter than a given firefly, it will move randomly.
The brightness should be associated with the objective function.
Cite As
Abbas Manthiri S (2026). Firefly Feature Selection and optimization (https://www.mathworks.com/matlabcentral/fileexchange/62235-firefly-feature-selection-and-optimization), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (6.89 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
