Skip to main content
. 2024 Jan 29;10:e1816. doi: 10.7717/peerj-cs.1816

Algorithm 1. Binary Novel External Archive.

Input: Candidate solutions (x), Objective function (f)
Output: Binary Novel External Archive
Initialize Flag = 0; Υ=0
if ( iter=1) do
   Arhxbest
end if
ipop do
   kArh do
    if ( HD(f(xi),f(xbest))>0) then
       jD do
        if (xi,jxk,j) then
           ΥΥ+1
        end if
      end for
    end if
    if (ΥD+12) then
      Flag=1
       exit()
    end if
  end for
  if (Flag1), then
     ArhArhxi
    Flag=0
  end if
end for