Function with unknown internals we wish to maximize. This is just serving as an example, for all intents and purposes think of the internals of this function, i.e.: the process which generates its output values, as unknown.
(x, y)
| 23 | |
| 24 | |
| 25 | def black_box_function(x, y): |
| 26 | """Function with unknown internals we wish to maximize. |
| 27 | |
| 28 | This is just serving as an example, for all intents and |
| 29 | purposes think of the internals of this function, i.e.: the process |
| 30 | which generates its output values, as unknown. |
| 31 | """ |
| 32 | return -x ** 2 - (y - 1) ** 2 + 1 |
nothing calls this directly
no outgoing calls
no test coverage detected