crossingnumber
In graph theory, the crossing number of a graph G, denoted cr(G), is the minimum number of pairwise edge crossings in any drawing of G in the plane. A drawing places vertices as distinct points and edges as curves between them, with the only intersections occurring at common endpoints. Typically, drawings are assumed to have no edge passing through a vertex, and no three edges crossing at the same interior point.
The crossing number is a global measure of how nonplanar a graph is. In particular, cr(G) = 0
Two classic small graphs illustrate cr-values: cr(K5) = 1 and cr(K3,3) = 1. These two graphs are nonplanar
Computationally, the problem of computing cr(G) is NP-hard, and deciding whether cr(G) ≤ k is NP-complete. This
For complete graphs Kn, the Harary–Hill conjecture gives a widely cited formula for cr(Kn): cr(Kn) = floor(n/2)
Variants of the problem include the rectilinear crossing number, cr*(G), which minimizes crossings in straight-line drawings;