Module used to count the number of crossings in the complete geometric graph
Returns the he number of crossings in the complete geometric graph with vertex set pts. Runs in O(n^2logn) time.
Let k=len(candidate_list), n=len(pts). Returns the best candidate for pts[point_index] in time O(n^2logn)+O(k*nlogn).
Counts the number of $lfoor n/2 floor$ k-edges
Returns the number of k edges in the point set pts
For every point pts[i] in the point set pts, returns an array whose i-th element is the crossing number of pts-pts[i]. In runs in O(n^2 log n) time.
Returns the vector of the number of k edges in the point set pts