Suppose I have a graph that is bipartite, except for one edge. That is, if this one edge were deleted, the graph would be bipartite. This graph is 'almost' or 'very nearly' bipartite.
A complete graph on many vertices, on the other hand, is extremely non-bipartite, because many edges would need to be deleted to have a bipartite graph.
- Does the 'degree of non-bipartiteness' have a name?
- What, if anything, is known about 'nearly bipartite' graphs?
A graph is bipartite if and only if it has no odd-length cycle, so an almost bipartite graph either has exactly one odd cycle, or it has more than one odd cycle and they all share a common edge.