(width)
| 22 | |
| 23 | |
| 24 | def naive_iac(width): |
| 25 | height = width / 2 |
| 26 | a = height / ((width / 2) * (width / 2)) |
| 27 | b = height |
| 28 | c = width / 2 |
| 29 | x = np.arange(width) |
| 30 | y = -(a * (x - c) * (x - c)) + b |
| 31 | |
| 32 | return y |
| 33 | |
| 34 | |
| 35 | def naive_cac(I, L, excl_factor, custom_iac=None): |
no outgoing calls
no test coverage detected