/home/ooechs/Ecj2Java/src/ac/essex/ooechs/ecj/ecj2java/example/individuals/MathsSolution10.java
|
package ac.essex.ooechs.ecj.ecj2java.example.individuals;
/**
Fitness: 2600
Generated by ECJ2Java on Fri Dec 08 10:41:00 GMT 2006
**/
public class MathsSolution10 {
public double calculate(double x, double y) {
double func_3 = y * y;
double func_6 = x * x;
double func_7 = func_3 + func_6;
double func_10 = x - -33.0;
double func_11 = func_10 == 0 ? 0 : x / func_10;
double func_12 = func_7 + func_11;
return func_12 > 0? Math.sqrt(func_12) : 0;
}
}