Abstract
Searching in partially ordered structures has been considered in the context of information retrieval and efficient tree-like indices, as well as in hierarchy based knowledge representation. In this paper we focus on tree-like partial orders and consider the problem of identifying an initially unknown vertex in a tree by asking edge queries: an edge query e returns the component of \(T-e\) containing the vertex sought for, while incurring some known cost c(e).
The Tree Search Problem with Non-Uniform Cost is the following: given a tree T on n vertices, each edge having an associated cost, construct a strategy that minimizes the total cost of the identification in the worst case.
Finding the strategy guaranteeing the minimum possible cost is an NP-complete problem already for input trees of degree 3 or diameter 6. The best known approximation guarantee was an \(O(\log n/\log \log \log n)\)-approximation algorithm of [Cicalese et al. TCS 2012].
We improve upon the above results both from the algorithmic and the computational complexity point of view: We provide a novel algorithm that provides an \(O(\frac{\log n}{\log \log n})\)-approximation of the cost of the optimal strategy. In addition, we show that finding an optimal strategy is NP-hard even when the input tree is a spider of diameter 6, i.e., at most one vertex has degree larger than 2.
B. Keszegh—Research supported by Hungarian National Science Fund (OTKA), under grant PD 108406 and under grant NN 102029 (EUROGIGA project GraDR 10-EuroGIGA-OP-003) and the János Bolyai Research Scholarship of the Hungarian Academy of Sciences.
B. Lidický—Research is partially supported by NSF grants DMS-1266016 and DMS-1600390.
D. Pálvölgyi—Research supported by Hungarian National Science Fund (OTKA), under grant PD 104386 and under grant NN 102029 (EUROGIGA project GraDR 10-EuroGIGA-OP-003) and the János Bolyai Research Scholarship of the Hungarian Academy of Sciences.
T. Valla—Supported by the Centre of Excellence – Inst. for Theor. Comp. Sci. (project P202/12/G061 of GA ČR).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
For the sake of avoiding confusion between the input tree and the decision tree, we will reserve the term vertex for the elements of V and the term node for the vertices of the decision tree D.
- 2.
Recall that a centroid of a tree T is a vertex v such that any component of \(T- v\) has size at most |T| / 2.
- 3.
A node \(\nu \) is an ancestor of another node \(\nu '\) if \(\nu \) lies on the path connecting \(\nu '\) to the head.
References
Ahlswede, R., Wegener, I.: Search Problems. Wiley, Chichester-New York (1987)
Aigner, M.: Combinatorial Search. Wiley-Teubner, New York-Stuttgart (1988)
Ben-Asher, Y., Farchi, E., Newman, I.: Optimal search in trees. SIAM J. Comput. 28(6), 2090–2102 (1999)
Cicalese, F., Jacobs, T., Laber, E., Valentim, C.: The binary identification problem for weighted trees. Theor. Comput. Sci. 459, 100–112 (2012)
de la Torre, P., Greenlaw, R., Schäffer, A.: Optimal edge ranking of trees in polynomial time. Algorithmica 13(6), 592–618 (1995)
Dereniowski, D.: Edge ranking of weighted trees. Discrete Appl. Math. 154, 1198–1209 (2006)
Dereniowski, D.: Edge ranking and searching in partial orders. Discrete Appl. Math. 156(13), 2493–2500 (2008)
Garey, M.R., Johnson, D.S.: Computer and Intractability. W.H. Freeman & Co., New York (1979)
Iyer, A.V., Ratliff, H.D., Vijayan, G.: On an edge ranking problem of trees and graphs. Discrete Appl. Math. 30(1), 43–52 (1991)
Knuth, D.: Searching and Sorting. The Art of Computer Programming, vol. 3. Addison-Wesley, Reading (1998)
Lam, T.W., Yue, F.L.: Optimal edge ranking of trees in linear time. In: Proceedings of the Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 1998, pp. 436–445, Philadelphia, PA, USA, Society for Industrial and Applied Mathematics (1998)
Linial, N., Saks, M.: Searching order structures. J. Algorithms 6, 86–103 (1985)
Makino, K., Uno, Y., Ibaraki, T.: On minimum edge ranking spanning trees. J. Algorithms 38, 411–437 (2001)
Mozes, S., Onak, K., Weimann, O.: Finding an optimal tree searching strategy in linear time. In: Proceedings of the 19th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2008), pp. 1096–1105 (2008)
Wermelinger, M.: Searching Efficiently in Posets. New University of Lisbon, Topics in Programming Technology (1993)
Acknowledgment
We are very grateful to Balázs Patkós for organizing \(5^{\mathrm {th}}\) Emléktábla Workshop where we collaborated on this paper.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Appendix
Appendix
1.1 Figures
Rights and permissions
Copyright information
© 2016 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Cicalese, F., Keszegh, B., Lidický, B., Pálvölgyi, D., Valla, T. (2016). On the Tree Search Problem with Non-uniform Costs. In: Mayr, E. (eds) Graph-Theoretic Concepts in Computer Science. WG 2015. Lecture Notes in Computer Science(), vol 9224. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-53174-7_7
Download citation
DOI: https://doi.org/10.1007/978-3-662-53174-7_7
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-662-53173-0
Online ISBN: 978-3-662-53174-7
eBook Packages: Computer ScienceComputer Science (R0)