Loading diagrammes/.~lock.algoDePlacement.odt# 0 → 100644 +1 −0 Original line number Diff line number Diff line ,21915980,C304L-406C10.campus.unicaen.fr,24.05.2022 11:05,file:///home/21915980/.config/libreoffice/4; No newline at end of file diagrammes/algoDePlacement.odt +583 B (17.5 KiB) File changed.No diff preview for this file type. View original file View changed file model/node.py +0 −14 Original line number Diff line number Diff line Loading @@ -430,19 +430,6 @@ class PlanarNode(Node): else: return False """def isEqual(self, node): if isinstance(node, EmptyNode): return False elif len(self.children) != len(node.children): return False elif len(self.children) == 0: return True else: answer = True for i in range(len(self.children)): answer = answer and self.children[i].isEqual(node.children[i]) return answer""" def setup(self, depth=0, places=None, offsets=None): nb_children = len(self.children) if places is None: Loading @@ -453,7 +440,6 @@ class PlanarNode(Node): for child in self.children: child.setup(depth + 1, places, offsets) child.setup(depth + 1, places, offsets) if nb_children == 0: place = places[depth] Loading Loading
diagrammes/.~lock.algoDePlacement.odt# 0 → 100644 +1 −0 Original line number Diff line number Diff line ,21915980,C304L-406C10.campus.unicaen.fr,24.05.2022 11:05,file:///home/21915980/.config/libreoffice/4; No newline at end of file
diagrammes/algoDePlacement.odt +583 B (17.5 KiB) File changed.No diff preview for this file type. View original file View changed file
model/node.py +0 −14 Original line number Diff line number Diff line Loading @@ -430,19 +430,6 @@ class PlanarNode(Node): else: return False """def isEqual(self, node): if isinstance(node, EmptyNode): return False elif len(self.children) != len(node.children): return False elif len(self.children) == 0: return True else: answer = True for i in range(len(self.children)): answer = answer and self.children[i].isEqual(node.children[i]) return answer""" def setup(self, depth=0, places=None, offsets=None): nb_children = len(self.children) if places is None: Loading @@ -453,7 +440,6 @@ class PlanarNode(Node): for child in self.children: child.setup(depth + 1, places, offsets) child.setup(depth + 1, places, offsets) if nb_children == 0: place = places[depth] Loading