| 74 | graphs, edges = cls.tables.graphs, cls.tables.edges |
| 75 | |
| 76 | class Point(cls.Comparable): |
| 77 | def __init__(self, x, y): |
| 78 | self.x = x |
| 79 | self.y = y |
| 80 | |
| 81 | def __composite_values__(self): |
| 82 | return [self.x, self.y] |
| 83 | |
| 84 | __hash__ = None |
| 85 | |
| 86 | def __eq__(self, other): |
| 87 | return ( |
| 88 | isinstance(other, Point) |
| 89 | and other.x == self.x |
| 90 | and other.y == self.y |
| 91 | ) |
| 92 | |
| 93 | def __ne__(self, other): |
| 94 | return not isinstance(other, Point) or not self.__eq__(other) |
| 95 | |
| 96 | class Graph(cls.Comparable): |
| 97 | pass |
no outgoing calls