Finally, if we cannot find a new global best position around the current global best position in a certain number of iterations T c then the current global best position can be considered a local maximum.
hereafter, we assume a maximization problem.