cec2020: add LunacekBiRastrigin func ref [skip ci]

This commit is contained in:
leo 2023-02-07 23:00:30 +01:00
parent f2cd8dc003
commit dd717af9f5
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -48,6 +48,7 @@ func Schwefel(x []float64) float64 {
} }
// LunacekBiRastrigin is the "Shifted and Rotated Lunacek bi-Rastrigin Function" of CEC2020. // LunacekBiRastrigin is the "Shifted and Rotated Lunacek bi-Rastrigin Function" of CEC2020.
// ref: https://al-roomi.org/benchmarks/unconstrained/n-dimensions/229-lunacek-s-bi-rastrigin-function.
func LunacekBiRastrigin(x []float64) float64 { func LunacekBiRastrigin(x []float64) float64 {
var sum0 float64 var sum0 float64