public double a(ag.a A_0, int A_1, int A_2) { double num = 0.0; for (int i = 0; i <= A_1; i++) { ag.b b2; ag.a a = A_0; for (int j = 0; j < i; j++) { a.a *= 0.8; } for (int k = 0; k < (A_1 - i); k++) { a.b++; } ag.b b = new ag.b(a); if (A_2 == 0) { b2 = this.a(b); } else { b2 = this.a(b, A_2); } double num5 = (b2.b + b2.a) / 2.0; if (num5 > num) { num = num5; } } return(num); }
public a(ag.b A_0) { this.b = A_0.b; this.a = 1.0 - (A_0.a / A_0.b); }