go(bench): add MaxNeighbourVariancePercent
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-07-07 16:40:37 +02:00
parent b6e7e916ce
commit ab6dc7412e
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -12,6 +12,9 @@ const (
// Neighbourhood is the number of neighbouring values that are to be // Neighbourhood is the number of neighbouring values that are to be
// generated as part of e.g. Stochastic Hill Climbing algo. // generated as part of e.g. Stochastic Hill Climbing algo.
Neighbourhood = 10 Neighbourhood = 10
// MaxNeighbourVariancePercent covers an arbitrary task requirement: pick
// neighbours from max n percent of search space.
MaxNeighbourVariancePercent = 10
// MaxFES is the maximum number of allowed function evaluations. // MaxFES is the maximum number of allowed function evaluations.
MaxFES = 10000 MaxFES = 10000
) )