Is Near Bipartite
is_near_bipartiteDetermine if a graph is near-bipartite: returns true when removing a pair of non-adjacent edges yields a bipartite matching covered graph, along with the witness pair.
Instructions
Is the graph near-bipartite?
True when some pair of non-adjacent edges can be removed to leave a bipartite matching covered graph; that pair comes back as the witness.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes | a graph6 string or a registry name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||