/Firefly_Algorithm_WSN

Swarm Intelligence Algorithm for WSN problems

Primary LanguageMatlab

Wireless Sensor Network (WSN) Deployment using Fireflies Algorithm

Code Description

  • FA.m: the main function
  • init_ffa.m: Initialize location of fireflies
  • ffa_wsn.m: Implement deployment of WSN with fireflies algorithm
  • ffa_move.m: Update solution (deployment of WSN)
  • coverage.m: Calculate coverage of WSN
  • findlimits.m: Make sure the fireflies are within the bounds/limits
  • draw.m: Nice code for data visualization

Run code

Run FA.m directly in Matlab or Octave