| Conditions | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import numpy as np |
||
| 19 | def calculate_properties(func): |
||
| 20 | def wrapper(self, *args, **kwargs): |
||
| 21 | func(self, *args, **kwargs) |
||
| 22 | |||
| 23 | self.n_dim = n_dim(self._search_space) |
||
| 24 | self.dim_names = dim_names(self._search_space) |
||
| 25 | self.position_space = position_space(self._search_space) |
||
| 26 | |||
| 27 | return wrapper |
||
| 28 |