r"""Remove all hyperedges and caches from the hypergraph.
(self)
| 110 | r"""Draw the structure.""" |
| 111 | |
| 112 | def clear(self): |
| 113 | r"""Remove all hyperedges and caches from the hypergraph.""" |
| 114 | self._clear_raw() |
| 115 | self._clear_cache() |
| 116 | |
| 117 | def _clear_raw(self): |
| 118 | self._v_weight = None |