Skip to main content
. 2020 Sep 28;10(10):763. doi: 10.3390/diagnostics10100763
Pseudocode 2:
  Initialize the grey wolf population Pj(j=1,2,3,,n)
  Initialize x,X and Y
  Calculate fitness of every search agent
  Px= the best search agent
  Pβ= the second-best search agent
  Pδ= the third-best search agent
  While (t< maximum number of iterations)
    For each search agent
    Update the position of the current search agent
    End for
    Update x,X and Y
    Calculate the fitness of all search agents
    Update Px,Pβ,Pδ
    t=t+1
  End while
  Return Px