Determines if the individual is valid or not.
(individual)
| 387 | return feasible_ind |
| 388 | |
| 389 | def valid(individual): |
| 390 | """Determines if the individual is valid or not.""" |
| 391 | if any(individual < BOUND_LOW) or any(individual > BOUND_UP): |
| 392 | return False |
| 393 | return True |
| 394 | |
| 395 | NDIM = 5 |
| 396 | BOUND_LOW, BOUND_UP = 0.0, 1.0 |
nothing calls this directly
no outgoing calls
no test coverage detected