FA.m
: the main functioninit_ffa.m
: Initialize location of firefliesffa_wsn.m
: Implement deployment of WSN with fireflies algorithmffa_move.m
: Update solution (deployment of WSN)coverage.m
: Calculate coverage of WSNfindlimits.m
: Make sure the fireflies are within the bounds/limitsdraw.m
: Nice code for data visualization
Run FA.m
directly in Matlab or Octave