A linear time algorithm for L(2,1)-labeling of trees
Abstract
An L(2,1)-labeling of a graph is an assignment from the vertex set to the set of nonnegative integers such that if and are adjacent and if and are at distance 2, for all and in . A -L(2,1)-labeling is an assignment , and the L(2,1)-labeling problem asks the minimum , which we denote by , among all possible assignments. It is known that this problem is NP-hard even for graphs of treewidth 2, and tree is one of a very few classes for which the problem is polynomially solvable. The running time of the best known algorithm for trees had been for more than a decade, however, an -time algorithm has been proposed recently, which substantially improved the previous one, where is the maximum degree of and . In this paper, we finally establish a linear time algorithm for L(2,1)-labeling of trees.
Keywords
Cite
@article{arxiv.0810.0906,
title = {A linear time algorithm for L(2,1)-labeling of trees},
author = {Toru Hasunuma and Toshimasa Ishii and Hirotaka Ono and Yushi Uno},
journal= {arXiv preprint arXiv:0810.0906},
year = {2010}
}
Comments
23 pages, 3 figures