cec2020: implement Schwefel func
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-02-06 23:26:19 +01:00
parent a15050c033
commit cf176f054e
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -43,7 +43,9 @@ func BentCigar(x []float64) float64 {
}
// Schwefel is the "Shifted and Rotated Schwefel's Function" of CEC2020.
func Schwefel(x []float64) float64 { return 0 }
func Schwefel(x []float64) float64 {
return SchwefelModified(x)
}
// LunacekBiRastrigin is the "Shifted and Rotated Lunacek bi-Rastrigin Function" of CEC2020.
func LunacekBiRastrigin(x []float64) float64 { return 0 }