def h1(individual):
 num = ((sin((individual[0] - (individual[1] / 8))) ** 2) + (sin((individual[1] + (individual[0] / 8))) ** 2))
 denum = (((((individual[0] - 8.6998) ** 2) + ((individual[1] - 6.7665) ** 2)) ** 0.5) + 1)
 return ((num / denum),)

def h1 ( individual ) : num = ( ( sin ( ( individual [ 0 ] - ( individual [ 1 ] / 8 ) ) ) ** 2 ) + ( sin ( ( individual [ 1 ] + ( individual [ 0 ] / 8 ) ) ) ** 2 ) ) denum = ( ( ( ( ( individual [ 0 ] - 8.6998 ) ** 2 ) + ( ( individual [ 1 ] - 6.7665 ) ** 2 ) ) ** 0.5 ) + 1 ) return ( ( num / denum ) , )
simple two-dimensional function containing several local maxima .