#### Graduation Year

2017

#### Document Type

Thesis

#### Degree

M.S.C.S.

#### Degree Name

MS in Computer Science (M.S.C.S.)

#### Degree Granting Department

Computer Science and Engineering

#### Major Professor

Srinivas Katkoori, Ph.D.

#### Committee Member

Sriram Chellappan, Ph.D.

#### Committee Member

Hao Zheng, Ph.D.

#### Keywords

Completely connected graphs, Heuristic, Graph Drawing

#### Abstract

Rectilinear crossing number of a graph is the number of crossing edges in a drawing with all straight line edges. The problem of drawing an *n*-vertex complete graph such that its rectilinear crossing number is minimum is known to be an NP-Hard problem. In this thesis, we present a heuristic that attempts to achieve the theoretical lower bound value of the rectilinear crossing number of a *n+1* vertex complete graph from that of *n* vertices. Our algorithm accepts an optimal or near-optimal rectilinear drawing of K_{n} graph as input and tries to place a new node such that the crossing number is minimized. Based on prior optimal drawings of K_{n}, we make an empirical observation that the optimal drawings are triangular in shape. The proposed heuristic has three steps: (1) Given the optimal or near-optimal drawing of K*n*, the outer triangle is determined; (2) A set of candidate positions for the (n+1)^{th} node is determined by ensuring none of them are collinear with two or more nodes in the graph; and (3) the best drawing with least rectilinear crossing number is chosen based on the drawings corresponding to the candidate position. A loose bound on the worst-case time complexity of the proposed algorithm is O(n^{7}). The heuristic is not guaranteed to yield optimal solution as the search space is constrained by the input graph. In our experimental results, we obtained optimal results for complete graphs of up to n=27.

#### Scholar Commons Citation

Revoori, Soundarya, "Computing the Rectilinear Crossing Number of K" (2017). *Graduate Theses and Dissertations.*

https://digitalcommons.usf.edu/etd/6936