Optimal labeling of point features in rectangular labeling models

Abstract. We investigate the NP–hard label number maximization problem (LNM): Given a set of rectangular labels Λ, each of which belongs to a point feature in the plane, the task is to find a labeling for a largest subset ΛP of Λ. A labeling is a placement such that none of the labels overlap and each λΛP is placed according to a labeling model: In the discrete models, the label must be placed so that the labeled point coincides with an element of a predefined subset of corners of the rectangular label, in the continuous or slider models, the point must lie on a subset of boundaries of the label. Obviously, the slider models allow a continuous movement of a label around its point feature, leading to a significantly higher number of labels that can be placed. We present exact algorithms for this problem that are based on a pair of so-called constraint graphs that code horizontal and vertical positioning relations. The key idea is to link the two graphs by a set of additional constraints, thus characterizing all feasible solutions of LNM. This enables us to formulate a zero-one integer linear program whose solution leads to an optimal labeling. We can express LNM in both the discrete and the slider labeling models. To our knowledge, we present the first algorithm that computes provably optimal solutions in the slider models. We find it remarkable that our approach is independent of the labeling model and results in a discrete algorithm even if the problem is of continuous nature as in the slider models. Extensive experimental results on both real-world instances and point sets created by a widely used benchmark generator show that the new approach - although being an exponential time algorithm - is applicable in practice.

[1]  Subhash Suri,et al.  Label placement by maximum independent set in rectangles , 1998, CCCG.

[2]  Kurt Mehlhorn,et al.  A platform for combinatorial and geometric computing , 1995 .

[3]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[4]  Alexander Wolff,et al.  Point labeling with sliding labels , 1999, Comput. Geom..

[5]  Cynthia A. Phillips,et al.  The network inhibition problem , 1993, STOC.

[6]  Joe Marks,et al.  The Computational Complexity of Cartographic Label Placement , 1991 .

[7]  David S. Johnson,et al.  Some Simplified NP-Complete Graph Problems , 1976, Theor. Comput. Sci..

[8]  Kurt Mehlhorn,et al.  Exact Algorithms for a Geometric Packing Problem (Extended Abstract) , 1993, STACS.

[9]  Claudia C. Iturriaga-Velazquez Map labeling problems , 1999 .

[10]  Steven Zoraster,et al.  The Solution of Large 0-1 Integer Programming Problems Encountered in Automated Cartography , 1990, Oper. Res..

[11]  Petra Mutzel,et al.  Combining Graph Labeling and Compaction , 1999, GD.

[12]  Gunnar W. Klau,et al.  A Combinatorial Approach to Orthogonal Placement Problems , 2002, OR.

[13]  Marc J. van Kreveld,et al.  Practical extensions of point labeling in the slider model , 1999, GIS '99.

[14]  Joe Marks,et al.  An empirical study of algorithms for point-feature label placement , 1995, TOGS.

[15]  Petra Mutzel,et al.  Optimal Compaction of Orthogonal Grid Drawings , 1999, IPCO.

[16]  Rolf H. Möhring,et al.  Scheduling project networks with resource constraints and time windows , 1988 .

[17]  Frank Wagner,et al.  A packing problem with applications to lettering of maps , 1991, SCG '91.

[18]  Karen Aardal,et al.  An Optimisation Algorithm for Maximum Independent Set with Applications in Map Labelling , 1999, ESA.

[19]  Kurt Mehlhorn,et al.  LEDA: a platform for combinatorial and geometric computing , 1997, CACM.

[20]  Refael Hassin,et al.  Approximation Schemes for the Restricted Shortest Path Problem , 1992, Math. Oper. Res..