The num_generations is the number of generations over which the
metric value should be tracked. Convergence will be attained if the
recorded metric is below percent_change for num_generations
consecutive generations.
Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering Solutions of Sandia, LLC., a wholly owned subsidiary of Honeywell International, Inc., for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA-0003525.