beforeMainIteration

protected open fun beforeMainIteration()(source)

This function is called before the function mainIteration() is executed. Provides a hook for additional pre-iteration logic, which could be placed here instead of at the beginning of the mainIteration() function.