_should_stop flag when patience is exceeded.
Parameters
Metric name to monitor (e.g., “system_energy”, “best_system_energy”).
Number of steps with no improvement before stopping. Ideally, this should be set as a multiple of the number of Minimizer steps necessary to mutate the entire sequence (for the largest State).
Minimum change in the monitored metric to be considered an improvement.
Whether lower (“min”) or higher (“max”) values are better.
