Has Cyclic Edge Cut
has_cyclic_edge_cutCheck if a graph has a cyclic edge cut of a specified size k, returning the bipartition as a witness via exhaustive search over vertex partitions.
Instructions
Does the graph have a cyclic edge cut of size exactly k?
That is, a vertex bipartition (S, T) with exactly k crossing edges where neither induced subgraph is a forest. Both shores come back as a witness.
The search is exhaustive over 2^(n-1) bipartitions, so it is refused above max_order vertices; raise max_order to search anyway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | Yes | the cut size to look for; must be greater than 3. | |
| graph | Yes | a graph6 string or a registry name. | |
| max_order | No | vertex-count ceiling for the exhaustive search. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||