An Optimal Algorithm for Reconstructing Point Set Order Types from Radial Orderings
Given a set P of n labeled points in the plane, the radial system of P describes, for each \(p\in P\), the radial ordering of the other points around p. This notion is related to the order type of P, which describes the orientation (clockwise or counterclockwise) of every ordered triple of P. Given only the order type of P, it is easy to reconstruct the radial system of P, but the converse is not true. Aichholzer et al. (Reconstructing Point Set Order Types from Radial Orderings, in Proc. ISAAC 2014) defined T(R) to be the set of order types with radial system R and showed that sometimes \(|T(R)|=n-1\). They give polynomial-time algorithms to compute T(R) when only given R.
We describe an optimal \(O(n^2)\) time algorithm for computing T(R). The algorithm constructs the convex hulls of all possible point sets with the given radial system, after which sidedness queries on point triples can be answered in constant time. This set of convex hulls can be found in O(n) time. Our results generalize to abstract order types.
- 1.Aichholzer, O., Cardinal, J., Kusters, V., Langerman, S., Valtr, P.: Reconstructing point set order types from radial orderings. In: Ahn, H.-K., Shin, C.-S. (eds.) ISAAC 2014. LNCS, vol. 8889, pp. 15–26. Springer, Heidelberg (2014) Google Scholar
- 9.Pilz, A., Welzl, E.: Order on order types. In: Proceedings 31st International Symposium on Computational Geometry (SOCG 2015), pp. 285–299. LIPICS (2015)Google Scholar