def kursawe(individual):
 f1 = sum((((-10) * exp(((-0.2) * sqrt(((x * x) + (y * y)))))) for (x, y) in zip(individual[:(-1)], individual[1:])))
 f2 = sum((((abs(x) ** 0.8) + (5 * sin(((x * x) * x)))) for x in individual))
 return (f1, f2)

def kursawe ( individual ) : f1 = sum ( ( ( ( - 10 ) * exp ( ( ( - 0.2 ) * sqrt ( ( ( x * x ) + ( y * y ) ) ) ) ) ) for ( x , y ) in zip ( individual [ : ( - 1 ) ] , individual [ 1 : ] ) ) ) f2 = sum ( ( ( ( abs ( x ) ** 0.8 ) + ( 5 * sin ( ( ( x * x ) * x ) ) ) ) for x in individual ) ) return ( f1 , f2 )
kursawe multiobjective function .