Skip to main content
. 2020 Apr 30;20(9):2566. doi: 10.3390/s20092566
Algorithm 5 Pseudocode of Random Search (RS).
procedure RS
  bestInitialisation()
  while notTerminationCondition() do
   nextgetRandomConfiguration() ▹ 4 or 8 parameters depending on the case study
   if F(next)>F(best) then
    bestnext            ▹ The best configuration found so far, is updated
   end if
  end while
end procedure