(self: P, new_value: tp.Optional[tp.Any] = None)
| 507 | return np.array([]) |
| 508 | |
| 509 | def spawn_child(self: P, new_value: tp.Optional[tp.Any] = None) -> P: |
| 510 | if new_value is not None: |
| 511 | self.value = new_value # check that it is equal |
| 512 | return self # no need to create another instance for a constant |
| 513 | |
| 514 | def recombine(self: P, *others: P) -> None: |
| 515 | pass |
no outgoing calls