def finish_iteration(self):
    'Perform any operations that should be done at the end of an iteration.\n\n    This is mostly useful for subclasses that need to reset variables after\n    an iteration, such as ones that are used to finish nodes.\n\n    Returns:\n      A list of operations.\n    '
    return []
Perform any operations that should be done at the end of an iteration.

This is mostly useful for subclasses that need to reset variables after
an iteration, such as ones that are used to finish nodes.

Returns:
  A list of operations.
def finish_iteration(self):
    'Perform any operations that should be done at the end of an iteration.\n\n    This is mostly useful for subclasses that need to reset variables after\n    an iteration, such as ones that are used to finish nodes.\n\n    Returns:\n      A list of operations.\n    '
    return []