From 597abb860db0c41bceb530f085ed18b4bbc59668 Mon Sep 17 00:00:00 2001 From: Marius Merschformann Date: Thu, 19 Dec 2024 10:28:51 +0100 Subject: [PATCH] Fixing typo --- solve_solver.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solve_solver.go b/solve_solver.go index 93c64e0..2c37984 100644 --- a/solve_solver.go +++ b/solve_solver.go @@ -51,14 +51,14 @@ type PlateauOptions struct { // plateau detection disabled). Iterations int `json:"iterations" usage:"maximum number of iterations without (significant) improvement" default:"0"` // RelativeThreshold defines the minimum relative improvement of the best - // solution withing the plateau duration or iterations to be considered + // solution within the plateau duration or iterations to be considered // significant. E.g., a value of 0.1 means that the best solution must // improve by at least 10% to be considered significant, thus resetting the // plateau timer/counter. A negative value means that the relative threshold // is disabled. RelativeThreshold float64 `json:"relative_threshold" usage:"relative threshold for significant improvement" default:"0.0"` // AbsoluteThreshold defines the minimum absolute improvement of the best - // solution withing the plateau duration or iterations to be considered + // solution within the plateau duration or iterations to be considered // significant. E.g., a value of 10 means that the best solution must // improve by at least 10 to be considered significant, thus resetting the // plateau timer/counter. A negative value means that the absolute threshold