Counting the Number of Crossings in Geometric Graphs
Abstract
A geometric graph is a graph whose vertices are points in general position in the plane and its edges are straight line segments joining these points. In this paper we give an $O(n^2 \log n)$ algorithm to compute the number of pairs of edges that cross in a geometric graph on $n$ points. For layered, and convex geometric graphs the algorithm takes $O(n^2)$ time.
- Publication:
-
arXiv e-prints
- Pub Date:
- April 2019
- DOI:
- 10.48550/arXiv.1904.11037
- arXiv:
- arXiv:1904.11037
- Bibcode:
- 2019arXiv190411037D
- Keywords:
-
- Computer Science - Computational Geometry