Returns: bool: If the current MinHash is empty - at the state of just initialized.
(self)
| 228 | return copy.copy(self.hashvalues) |
| 229 | |
| 230 | def is_empty(self): |
| 231 | ''' |
| 232 | Returns: |
| 233 | bool: If the current MinHash is empty - at the state of just |
| 234 | initialized. |
| 235 | ''' |
| 236 | if np.any(self.hashvalues != _max_hash): |
| 237 | return False |
| 238 | return True |
| 239 | |
| 240 | def clear(self): |
| 241 | ''' |
nothing calls this directly
no outgoing calls
no test coverage detected