IsBipartiteGraph
Whether a Graph's vertices split into two sets with every edge crossing between them.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
BipartiteGraphQ✓IsBipartiteGraph(g)true iff a 2-colouring exists (BFS, underlying graph, direction ignored) — false for any graph with an odd cycle, including a self-loop.Typed signatures
| Type | Package | Applies |
|---|---|---|
(value) -> boolean | combinatorics | always |
Details
- Wolfram calls this
BipartiteGraphQ; this library uses theIs…spelling everywhere.
Examples
2 more kept as data, checked against the oraclesAbout
| Examples | 6 |
|---|---|
| Checked against | Wolfram Language 5 agree |
| Crosswalk | Wolfram Language |
See also: IsConnectedGraph, CycleGraph