Skip to main content
. 2019 Sep 14;19(18):3973. doi: 10.3390/s19183973
Algorithm 5 Optimisation based on PS algorithm
  • 1:
    Initialise predefine default search step Δ0; tschedi and Δ = Δ0
  • 2:
    while Termination condition not reached do
  • 3:
     init current solution D= (tschedi+L*Δ)
  • 4:
     Evaluate nearest neighbours in D
  • 5:
    if betters in D then
  • 6:
      Update the current solution to the best neighbour in D; Δ = Δ0
  • 7:
    else
  • 8:
      Search step reduction Δ = Δ0/2
  • 9:
    end if
  • 10:
    end while