Abstract
Computing a maximum independent set, weighted or unweighted, isNP-hard for general as well as planar graphs. However, polynomial time algorithms do exist for solving this problem on special classes of graphs. In this paper we present an efficient algorithm for computing a maximum weight independent set in trees. A divide and conquer approach based on centroid decomposition of trees is used to compute a maximum weight independent set withinO(n logn) time, wheren is the number of vertices in the tree. We introduce a notion of analternating tree which is crucial in obtaining a new independent set from the previous one.
Similar content being viewed by others
References
D. Coppersmith and U. Vishkin,Solving NP-hard problems in almost trees, Discrete and Applied Mathematics 10 (1985), pp. 27–45.
A. Frank,Some polynomial algorithms for certain graphs and hypergraphs, Proc. Fifth British Combinatorics Conference, 1975.
M. R. Garey and D. S. Johnson,Computers and Intractability: A Guide to the Theory of NP-Completeness, Freeman, San Francisco, CA., 1979.
A. J. Goldman,Optimal center location in simple networks, Transportation Science 5 (1971), pp. 212–221.
F. Harary,Graph Theory, Addison-Wesley, Reading, Massachusetts, 1969.
D. Hochbaum,Efficient bounds for the stable set, vertex cover and set packing problem, Discrete and Applied Mathematics 6 (1983), pp. 243–254.
O. Kariv and S. L. Hakimi,An algorithmic approach to network location problems. I: The p-centers, SIAM J. Appl. Math. 37 (1979), pp. 513–538.
L. Lovasz,Vertex packing algorithms, Proc. Twelfth Colloquium on Automata Languages and Programming, 1985, pp. 1–14.
G. L. Nemhauser and L. E. Trotter,Vertex packings: structural properties and algorithms, Mathematical Programming 8 (1975), pp. 233–248.
J. H. Reif,Minimum s-t cut of a planar undirected network in O(nlog2 n)time, SIAM J. Comp. 12 (1983), pp. 71–81.
C. Savage,Depth-first search and the vertex cover problem, Information Processing Letters 16 (1982), pp. 233–235.
D. D. Sleator,An O(mn logn)algorithm for maximum network flow, Tech. Rep. STAN-CS80-831, Department of Computer Science, Stanford University, 1980.