An undirected graph $(V, E)$ is bipartite (a bipartite graph) if there is a partition $\set{A, B}$ of $V$ so no two vertices in $A$ are adjacent and no two vertices in $B$ are adjacent.