def undo_move(self, move):
    (node, edge_set) = move
    self.current_node_set.remove(node)
    self.current_edge_set -= edge_set
def undo_move(self, move):
    (node, edge_set) = move
    self.current_node_set.remove(node)
    self.current_edge_set -= edge_set