def minimum_space(self, node: Node) -> int: # when calculating the min space of an example node copy = node.clone() self.bucket_preprocessor(copy) return self.child_constraint.minimum_space(copy)
def satisfied_by_node(self, node: Node) -> Result: copy = node.clone() self.bucket_preprocessor(copy) return self.child_constraint.satisfied_by_node(copy)