mirror of
https://github.com/ejeanboris/MDAF.git
synced 2025-06-20 03:58:30 +00:00
added more fumctions for testing
This commit is contained in:
2
SourceCode/TestFunctions/Bukin4.py
Normal file
2
SourceCode/TestFunctions/Bukin4.py
Normal file
@ -0,0 +1,2 @@
|
||||
def main(args):
|
||||
return 100*args[1]**2+0.01*abs(args[0]+10)
|
5
SourceCode/TestFunctions/Bukin6.py
Normal file
5
SourceCode/TestFunctions/Bukin6.py
Normal file
@ -0,0 +1,5 @@
|
||||
from math import sqrt, fabs
|
||||
|
||||
|
||||
def main(args):
|
||||
return 100*sqrt(fabs(args[1]-0.01*args[0]**2))+0.01*fabs(args[0]+10)
|
Reference in New Issue
Block a user