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 x and y are at distance 2, for all x and y in V(G). A k-L(2, 1)-labeling is an L(2, 1)-labeling : V(G) --> {0, ... , k}, and the L(2, 1)-labeling problem asks the minimum k, which we denote by lambda(G), among all possible assignments. It is known that this problem is NP-hard even for graphs of treewidth 2, and tree is one of very few classes for which the problem is polynomially solvable. The running time of the best known algorithm for trees had been O(Delta(4.5)n) for more than a decade, and an O(min{n(1.75), Delta(1.5)n})-time algorithm has appeared recently, where Delta is the maximum degree of T and n = |V(T)|, however, it has been open if it is solvable in linear time. In this paper, we finally settle this problem for L(2, 1)-labeling of trees by establishing a linear time algorithm.
机构:
Department of Computer Science and Engineering, Jaypee University of Information Technology, Solan 173215 HP, WaknaghatDepartment of Computer Science and Engineering, Jaypee University of Information Technology, Solan 173215 HP, Waknaghat
Chaudhuri P.
Thompson H.
论文数: 0引用数: 0
h-index: 0
机构:
Department of Computer Science, Mathematics and Physics, University of the West Indies, Bridgetown, Cave Hill CampusDepartment of Computer Science and Engineering, Jaypee University of Information Technology, Solan 173215 HP, Waknaghat
机构:
Rzeszow Univ Technol, Fac Math & Appl Phys, Al Powstancow Warszawy 8, PL-35959 Rzeszow, PolandRzeszow Univ Technol, Fac Math & Appl Phys, Al Powstancow Warszawy 8, PL-35959 Rzeszow, Poland
Bednarz, Pawel
Wloch, Iwona
论文数: 0引用数: 0
h-index: 0
机构:
Rzeszow Univ Technol, Fac Math & Appl Phys, Al Powstancow Warszawy 8, PL-35959 Rzeszow, PolandRzeszow Univ Technol, Fac Math & Appl Phys, Al Powstancow Warszawy 8, PL-35959 Rzeszow, Poland