.. _method-soga-convergence_type-average_fitness_tracker-num_generations:

"""""""""""""""
num_generations
"""""""""""""""


Define the convergence criterion for JEGA methods


.. toctree::
   :hidden:
   :maxdepth: 1



**Specification**

- *Alias:* None

- *Arguments:* INTEGER

- *Default:* 10


**Description**


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.


