Calculates the distance between the current state and the tree passed as argument. @type tree: list of Views @param tree: Tree of Views @return: the distance
(self, tree)
| 4514 | return treeCopy |
| 4515 | |
| 4516 | def distanceTo(self, tree): |
| 4517 | """ |
| 4518 | Calculates the distance between the current state and the tree passed as argument. |
| 4519 | |
| 4520 | @type tree: list of Views |
| 4521 | @param tree: Tree of Views |
| 4522 | @return: the distance |
| 4523 | """ |
| 4524 | return ViewClient.distance(ViewClient.__pickleable(self.views), tree) |
| 4525 | |
| 4526 | @staticmethod |
| 4527 | def distance(tree1, tree2): |
nothing calls this directly
no test coverage detected