Skip to main content
. Author manuscript; available in PMC: 2021 Nov 2.
Published in final edited form as: Int Conf Big Data Smart Comput. 2021 Mar 10;2021:10.1109/bigcomp51126.2021.00023. doi: 10.1109/bigcomp51126.2021.00023

Algorithm 2.

Stopping-Criterion

γ=1+log(n)N // ratio of the growth must be γ > 1
k = log(N) // number of top oop
v = 0 // number of successive iterations without progress A=a list containing k zeros // keeping the top k largest values of oop up to each iteration
Stopping-Criterion (oop(t))
 1) Detect the best iteration:
  if oop(t)>max(A), set T = t
 2) Check the stopping criteria:
  if v > k or t > Tmax, halt Algorithm 1 // Tmax : maximum number of iterations
 3) Check the progress of oop:
  v={v+1 oop (t)<γmin(A)0 otherwise 
 4) Update A:
  if oop(t)>min(A), then replace the minimum entry with oop(t)