go(bench): explain {Schwefel,DeJong{1,2}}Params
This commit is contained in:
parent
17e73d6c5c
commit
35d433e847
@ -20,9 +20,15 @@ var (
|
||||
// Dimensions to compute for (spatial complexity..?).
|
||||
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}
|
||||
DeJong1Params = funcParams{min: -5.0, max: 5.0}
|
||||
DeJong2Params = funcParams{min: -5.0, max: 5.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}
|
||||
// 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}
|
||||
)
|
||||
|
||||
// Min returns the non-exported "min" field of a funcParams struct.
|
||||
|
Loading…
Reference in New Issue
Block a user