7.5. cpforager.misc.display_progress

cpforager.misc.display_progress(k, n, freq=5.0)

Display progress of an iterated process, e.g. a loop.

Parameters:
  • k (int) – current iteration number

  • n (int) – total number of iterations

  • freq (float) – frequence in percent at which progress is printed