Abstract
An L(2,1)-labeling of a graph G is an assignment f from the vertex set V(G) to the set of nonnegative integers such that |f(x) − f(y)| ≥ 2 if x and y are adjacent and |f(x) − f(y)| ≥ 1 if x and y are at distance 2 for all x and y in V(G). A k-L(2,1)-labeling is an assignment f:V(G)→{0,...,k}, and the L(2,1)-labeling problem asks the minimum k, which we denote by λ(G), among all possible assignments. It is known that this problem is NP-hard even for graphs of treewidth 2. Tree is one of a few classes for which the problem is polynomially solvable, but still only an \(\mbox{O}(\Delta^{4.5} n)\) time algorithm for a tree T has been known so far, where Δ is the maximum degree of T and n = |V(T)|. In this paper, we first show that an existent necessary condition for λ(T) = Δ + 1 is also sufficient for a tree T with \(\Delta=\Omega(\sqrt{n})\), which leads a linear time algorithm for computing λ(T) under this condition. We then show that λ(T) can be computed in \(\mbox{O}(\Delta^{1.5}n)\) time for any tree T. Combining these, we finally obtain an time algorithm, which substantially improves upon previously known results.
This research is partly supported by INAMORI FOUNDATION and Grant-in-Aid for Scientific Research (KAKENHI), No. 18300004, 18700014, 19500016 and 20700002.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Bodlaender, H.L., Kloks, T., Tan, R.B., van Leeuwen, J.: Approximations for λ-coloring of graphs. The Computer Journal 47, 193–204 (2004)
Calamoneri, T.: The L(h,k)-labelling problem: A survey and annotated bibliography. The Computer Journal 5, 585–608 (2006)
Chang, G.J., Ke, W.-T., Kuo, D., Liu, D.D.-F., Yeh, R.K.: On L(d,1)-labeling of graphs. Discrete Mathematics 220, 57–66 (2000)
Chang, G.J., Kuo, D.: The L(2,1)-labeling problem on graphs. SIAM J. Disc. Math. 9, 309–316 (1996)
Fiala, J., Golovach, P.A., Kratochvíl, J.: Distance constrained labelings of graphs of bounded treewidth. In: Caires, L., Italiano, G.F., Monteiro, L., Palamidessi, C., Yung, M. (eds.) ICALP 2005. LNCS, vol. 3580, pp. 360–372. Springer, Heidelberg (2005)
Fiala, J., Kloks, T., Kratochvíl, J.: Fixed-parameter complexity of λ-labelings. Discrete Applied Mathematics 113, 59–72 (2001)
Griggs, J.R., Yeh, R.K.: Labelling graphs with a condition at distance 2. SIAM J. Disc. Math. 5, 586–595 (1992)
Hale, W.K.: Frequency assignment: theory and applications. Proc. IEEE 68, 1497–1514 (1980)
Hopcroft, J.E., Karp, R.M.: An n 5/2 algorithm for maximum matchings in bipartite graphs. SIAM J. Comput. 2(4), 225–231 (1973)
Roberts, F.S.: T-colorings of graphs: recent results and open problems. Discrete Mathematics 93, 229–245 (1991)
Wang, W.-F.: The L(2,1)-labelling of trees. Discrete Applied Mathematics 154, 598–603 (2006)
Yeh, R.K.: A survey on labeling graphs with a condition at distance two. Discrete Mathematics 306, 1217–1231 (2006)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Hasunuma, T., Ishii, T., Ono, H., Uno, Y. (2008). An \(\mbox{O}(n^{1.75})\) Algorithm for L(2,1)-Labeling of Trees. In: Gudmundsson, J. (eds) Algorithm Theory – SWAT 2008. SWAT 2008. Lecture Notes in Computer Science, vol 5124. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-69903-3_18
Download citation
DOI: https://doi.org/10.1007/978-3-540-69903-3_18
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-69900-2
Online ISBN: 978-3-540-69903-3
eBook Packages: Computer ScienceComputer Science (R0)