1 | initial version |
Such function does not seem to exist. The most relevant page for such questions seems to be Connectivity related functions Alternatively, you could use the following
def is_vertex_cut_bis(graph, subset):
new_graph = graph.copy()
new_graph.merge_vertices(subset)
return new_graph.is_cut_vertex(subset[0])