go(bench): explain {Schwefel,DeJong{1,2}}Params
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-06-28 23:04:31 +02:00
parent 17e73d6c5c
commit 35d433e847
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -20,8 +20,14 @@ var (
// Dimensions to compute for (spatial complexity..?). // Dimensions to compute for (spatial complexity..?).
Dimensions = []uint{5, 10, 20} Dimensions = []uint{5, 10, 20}
// SchwefelParams is a struct holding the min, max allowed value of inputs
// passed to the Schwefel function.
SchwefelParams = funcParams{min: -500.0, max: 500.0} SchwefelParams = funcParams{min: -500.0, max: 500.0}
// DeJong1Params is a struct holding the min, max allowed value of inputs
// passed to the De Jong 1st function.
DeJong1Params = funcParams{min: -5.0, max: 5.0} DeJong1Params = funcParams{min: -5.0, max: 5.0}
// DeJong2Params is a struct holding the min, max allowed value of inputs
// passed to the De Jong 2nd function.
DeJong2Params = funcParams{min: -5.0, max: 5.0} DeJong2Params = funcParams{min: -5.0, max: 5.0}
) )