def move(self, move):
    (node, edge_set) = move
    self.current_node_set.add(node)
    self.current_edge_set |= edge_set
    self.visited_states.add(self.id())
    self.subgraphs.append((self.current_node_set.copy(), self.current_edge_set.copy()))
def move(self, move):
    (node, edge_set) = move
    self.current_node_set.add(node)
    self.current_edge_set |= edge_set
    self.visited_states.add(self.id())
    self.subgraphs.append((self.current_node_set.copy(), self.current_edge_set.copy()))