Skip to main content
. 2022 May 31;22(11):4204. doi: 10.3390/s22114204
Algorithm 4 High-level MS-AFS pseudo-code
  • Initialize global parameters: t=0, T, and N.

  • Initialize: control parameters of ABC, FA, and SCA meta-heuristics.

  • Generate initial population P according to Algorithm 1.

  • Determine populations for s1 and s2P1 and P2, respectively.

  • while tTdo

  •    Execute s1 according to Algorithm 2

  •    Execute s2 according to Algorithm 3

  •    if t>ϕ then

  •      if rand(0,1)>kef then

  •         Trigger KEM mechanism

  •      end if

  •    end if

  • end while

  • Return Xbest

  • Results analysis, performance metrics generation and visualization