Skip to main content
Log in

Maximum weight independent set in trees

  • Part I Computer Science
  • Published:
BIT Numerical Mathematics Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. D. Coppersmith and U. Vishkin,Solving NP-hard problems in almost trees, Discrete and Applied Mathematics 10 (1985), pp. 27–45.

    Article  Google Scholar 

  2. A. Frank,Some polynomial algorithms for certain graphs and hypergraphs, Proc. Fifth British Combinatorics Conference, 1975.

  3. M. R. Garey and D. S. Johnson,Computers and Intractability: A Guide to the Theory of NP-Completeness, Freeman, San Francisco, CA., 1979.

    Google Scholar 

  4. A. J. Goldman,Optimal center location in simple networks, Transportation Science 5 (1971), pp. 212–221.

    Google Scholar 

  5. F. Harary,Graph Theory, Addison-Wesley, Reading, Massachusetts, 1969.

    Google Scholar 

  6. D. Hochbaum,Efficient bounds for the stable set, vertex cover and set packing problem, Discrete and Applied Mathematics 6 (1983), pp. 243–254.

    Article  Google Scholar 

  7. 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.

    Article  Google Scholar 

  8. L. Lovasz,Vertex packing algorithms, Proc. Twelfth Colloquium on Automata Languages and Programming, 1985, pp. 1–14.

  9. G. L. Nemhauser and L. E. Trotter,Vertex packings: structural properties and algorithms, Mathematical Programming 8 (1975), pp. 233–248.

    Article  Google Scholar 

  10. 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.

    Article  Google Scholar 

  11. C. Savage,Depth-first search and the vertex cover problem, Information Processing Letters 16 (1982), pp. 233–235.

    Article  Google Scholar 

  12. D. D. Sleator,An O(mn logn)algorithm for maximum network flow, Tech. Rep. STAN-CS80-831, Department of Computer Science, Stanford University, 1980.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Pawagi, S. Maximum weight independent set in trees. BIT 27, 170–180 (1987). https://doi.org/10.1007/BF01934182

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01934182

CR categories

Navigation