is_arc_cut_set#
- is_arc_cut_set(k: PlanarDiagram, arcs, ignore_isolated_vertices=True) bool #
Checks if the given list of arcs forms a cut set in the planar diagram.
A cut set is a subset of arcs whose removal breaks the diagram into two or more disjoint components.
- Args:
k (PlanarDiagram): The planar diagram representing the knot or graph. arcs (iterable): A list or set of arcs to check if they form a cut set. include_singletons (bool): Whether to count disconnected single nodes in the resulting components (default: True).
- Returns:
bool: True if the given arcs form a cut set, False otherwise.