Given a tree containing n vertices, consider the sum of the distance between all ลฝ . vertices and a k-leaf subtree subtree which contains exactly k leaves . A k-tree core is a k-leaf subtree which minimizes the sum of the distances. In this paper, we propose a linear time algorithm for finding a k-t
A linear algorithm for a core of a tree
โ Scribed by Christine A Morgan; Peter J Slater
- Publisher
- Elsevier Science
- Year
- 1980
- Tongue
- English
- Weight
- 565 KB
- Volume
- 1
- Category
- Article
- ISSN
- 0196-6774
No coin nor oath required. For personal study only.
๐ SIMILAR VOLUMES
We first give a one-pass algorithm for finding the core of a tree. This algorithm is a refinement of the two-pass algorithm of Morgan and Slater. We then define a generalization of a core which we call a \(k\)-tree core. Given a tree \(T\) and parameter \(k\), a \(k\)-tree core is a subtree \(T^{\pr
A core of a tree \(T=(V, E)\) is a path in \(T\) which minimizes \(\Sigma_{v \in V}\) \(d(v, P)\), where \(d(v, P)\), the distance from a vertex \(v\) to path \(P\), is defined as \(\min _{u \in P} d(v, u)\). We present an optimal parallel algorithm to find a core of \(T\) in \(O(\log n)\) time usin
## Abstract The broadcast domination problem is a variant of the classical minimum dominating set problem in which a transmitter of power __p__ at vertex __v__ is capable of dominating (broadcasting to) all vertices within distance __p__ from __v__. Our goal is to assign a broadcast power __f__(__v