Research Article

[Retracted] Advanced Cognitive Algorithm for Biomedical Data Processing: COVID-19 Pattern Recognition as a Case Study

Algorithm 1

The butterfly optimization algorithm (BOA).
Input ⟵ Total number of iteration (Tmax), population size (N), objective function f(x), control parameter (a), switch probability (p), sensory modality (c), and the power exponent (a).
Output ⟵ Optimal solution
(1)Begin
(2)For t=1: Tmax
(3)  For i=1: N
(4)   For j= 1: d
(5)    Update the fragrance of current search agent by Equation:
(6)   End for
(7)  End for
(8)  Find the best f
(9)  For i= 1: N
(10)   For j= 1: d
(11)    Set a random number r in [0,1]
(12)    If r < p, then
(13)    Move toward best position by Equations ,
(14)    Else
(15)    Move randomly using Equations ,
(16)    End if
(17)   End for
(18)  End for
(19)  Update the value of c and the power exponent a.
(20)End for
(21)End