/home/ooechs/Ecj2Java/src/ac/essex/ooechs/ecj/ecj2java/example/individuals/MathsSolution4.java
|
package ac.essex.ooechs.ecj.ecj2java.example.individuals;
/**
Fitness: 956
Generated by ECJ2Java on Fri Dec 08 10:40:53 GMT 2006
**/
public class MathsSolution4 {
public double calculate(double x, double y) {
double func_3 = x * x;
double func_5 = 97.0 + x;
double func_6 = func_5 == 0 ? 0 : func_3 / func_5;
double func_8 = x > 0? Math.sqrt(x) : 0;
double func_9 = func_8 > 0? Math.sqrt(func_8) : 0;
double func_10 = func_6 * func_9;
return func_10 + y;
}
}