From 4abc9e62466085c85654ea41d47552fdf945e5cb Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 25 Jun 2022 21:55:36 +0200 Subject: [PATCH] go(randomSearch): print progress stats --- algo/randomSearch.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/algo/randomSearch.go b/algo/randomSearch.go index f389356..7840868 100644 --- a/algo/randomSearch.go +++ b/algo/randomSearch.go @@ -103,6 +103,9 @@ func RandomSearchNG(maxFES, benchMinIters int, theD []int, benchFunc string) []s funcStats := &stats.FuncStats{BenchName: benchFunc} benchFuncParams := bench.FunctionParams[benchFunc] + printRandomSearch("running bench \"" + benchFunc + "\" for " + + fmt.Sprint(randomSearchStatDimX.Dimens) + "D") + funcStats.Solution = make([]stats.BenchRound, minIters) // perform the while dance 'minIters' times for "statistical relevance"