Skip to main content
. 2023 Nov 16;23(22):9217. doi: 10.3390/s23229217
Algorithm 1 Binary State Transition Algorithm.
  • 1:

    function BSTA(s)

  • 2:

          repeat

  • 3:

                Bestswap(Best,)

  • 4:

                Bestshift(Best,)

  • 5:

                Bestsymmetry(Best,)

  • 6:

                Bestsubstitute(Best,)

  • 7:

          until the termination condition is met

  • 8:

          Return Best

  • 9:

    end function