go(randomSearch): print progress stats
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-06-25 21:55:36 +02:00
parent 3940036304
commit 4abc9e6246
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -103,6 +103,9 @@ func RandomSearchNG(maxFES, benchMinIters int, theD []int, benchFunc string) []s
funcStats := &stats.FuncStats{BenchName: benchFunc} funcStats := &stats.FuncStats{BenchName: benchFunc}
benchFuncParams := bench.FunctionParams[benchFunc] benchFuncParams := bench.FunctionParams[benchFunc]
printRandomSearch("running bench \"" + benchFunc + "\" for " +
fmt.Sprint(randomSearchStatDimX.Dimens) + "D")
funcStats.Solution = make([]stats.BenchRound, minIters) funcStats.Solution = make([]stats.BenchRound, minIters)
// perform the while dance 'minIters' times for "statistical relevance" // perform the while dance 'minIters' times for "statistical relevance"