Pretty-prints the tree structure of the BinaryPartition object.
(self)
| 6412 | self.proc_id = proc_id |
| 6413 | |
| 6414 | def print(self): |
| 6415 | """Pretty-prints the tree structure of the BinaryPartition object.""" |
| 6416 | print(str(self) + f" with {self.numchunks()} chunks:") |
| 6417 | for line in self._print(is_root=True): |
| 6418 | print(line) |
| 6419 | |
| 6420 | def _print(self, prefix="", is_root=True): |
| 6421 | # pointers |