Skip to main content
. 2022 Dec 2;22(23):9448. doi: 10.3390/s22239448
Algorithm 1: Pseudocode for the proposed CF-SSOA
Input: Extracted features si
    Output: Selected feature xj
    Begin
    Generate initial swarm population
    Initialize the food source Γ
    For i=1:n
           Compute the fitness fsi of each si
           Choose the leader siL and followers siF
           While i<Y
                        Update ξ1=2exp4yY2
                        Calculate the correlation factor τ1,τ2
                        If i==1
                                       Renew the position of leader
                        Else
                                       Keep posted the follower’s position
                        End if
                        Improve the salps based on upper and lower bounds
           End while
    End for
    Return xj
    End