Skip to main content
. 2019 Sep 12;19(18):3934. doi: 10.3390/s19183934
Algorithm 4 MC-CLFV Algorithm
Check out all flexible vertices VF1si,VF2si,  ,VFn1si and all fixed vertices VD1si,VDn2si in si,i=1,  , k , sorted them counter-clockwise
Setting base search radius, r0, and its decrease rate in every iteration,σ1= 0.96
Calculate the value of the evaluation function,  F0 ;Calculate initial the standard deviation Γ0
WhileΓ0>τ (τ is maximum acceptable standard deviation)
  r=r0 ×σ1
  For i = 1:length(VF)
    θ = 2π× rand()
    x(VFisi ) = x(VFisi) +  r × rand() × cos θ;
    y(VFisi ) =y(VFisi) +  r × rand() × sin θ;
  end
  VD and renewed VF, constitute a new shape of sector.
  If concave shape checking or minimum distance checking is not true
    Continue;
  end
  G = g(VF,VD,B,L)
  Calculate F = F(G, f)
  ΔF = F0Fopt
  Γ=1kj=1k(FjF¯)2
  If ΔF0 and ΓΓ0 and β1 × mean(Fj,j=1k). min(Fj,j=1k. ) and max(Fj,j=. 1k) β2 × wlmax
    Fopt = F0
    Γ0= Γ
    Gopt = G
  end
end