计算机科学 > 计算几何
[提交于 2020年1月14日 (v1),最后修订于 2020年9月10日 (此版本, v4)]
标题:NP-completeness of slope-constrained drawing of complete graphs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We prove the NP-completeness of the following problem. Given a set $S$ of $n$ slopes and an integer $k\geq 1$, is it possible to draw a complete graph on $k$ vertices in the plane using only slopes from $S$? Equivalently, does there exist a set $K$ of $k$ points in general position such that the slope of every segment between two points of $K$ is in $S$? We then present a polynomial algorithm for this question when $n\leq 2k-c$, conditional on a conjecture of R.E. Jamison. For $n=k$, an algorithm in $\mathcal{O}(n^4)$ was proposed by Wade and Chu. For this case, our algorithm is linear and does not rely on Jamison's conjecture.