Skip to main content
Log in

Finding a core of a tree with pos/neg weight

  • Original Article
  • Published:
Mathematical Methods of Operations Research Aims and scope Submit manuscript

Abstract

Let T = (V, E) be a tree. A core of T is a path P, for which the sum of the weighted distances from all vertices to this path is minimized. In this paper, we consider the semi-obnoxious case in which the vertices have positive or negative weights. We prove that, when the sum of the weights of vertices is negative, the core must be a single vertex and that, when the sum of the vertices’ weights is zero there exists a core that is a vertex. Morgan and Slater (J Algorithms 1:247–258, 1980) presented a linear time algorithm to find the core of a tree with only positive weights of vertices. We show that their algorithm also works for semi-obnoxious problems.

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

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mehdi Zaferanieh.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Zaferanieh, M., Fathali, J. Finding a core of a tree with pos/neg weight. Math Meth Oper Res 76, 147–160 (2012). https://doi.org/10.1007/s00186-012-0394-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00186-012-0394-5

Keywords

Navigation