Skip to main content

On the Tree Search Problem with Non-uniform Costs

  • Conference paper
  • First Online:
Graph-Theoretic Concepts in Computer Science (WG 2015)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9224))

Included in the following conference series:

  • 603 Accesses

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

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

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

    A node \(\nu \) is an ancestor of another node \(\nu '\) if \(\nu \) lies on the path connecting \(\nu '\) to the head.

References

  1. Ahlswede, R., Wegener, I.: Search Problems. Wiley, Chichester-New York (1987)

    MATH  Google Scholar 

  2. Aigner, M.: Combinatorial Search. Wiley-Teubner, New York-Stuttgart (1988)

    MATH  Google Scholar 

  3. Ben-Asher, Y., Farchi, E., Newman, I.: Optimal search in trees. SIAM J. Comput. 28(6), 2090–2102 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  4. Cicalese, F., Jacobs, T., Laber, E., Valentim, C.: The binary identification problem for weighted trees. Theor. Comput. Sci. 459, 100–112 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  5. de la Torre, P., Greenlaw, R., Schäffer, A.: Optimal edge ranking of trees in polynomial time. Algorithmica 13(6), 592–618 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  6. Dereniowski, D.: Edge ranking of weighted trees. Discrete Appl. Math. 154, 1198–1209 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  7. Dereniowski, D.: Edge ranking and searching in partial orders. Discrete Appl. Math. 156(13), 2493–2500 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  8. Garey, M.R., Johnson, D.S.: Computer and Intractability. W.H. Freeman & Co., New York (1979)

    Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  10. Knuth, D.: Searching and Sorting. The Art of Computer Programming, vol. 3. Addison-Wesley, Reading (1998)

    Google Scholar 

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

    Google Scholar 

  12. Linial, N., Saks, M.: Searching order structures. J. Algorithms 6, 86–103 (1985)

    Article  MathSciNet  MATH  Google Scholar 

  13. Makino, K., Uno, Y., Ibaraki, T.: On minimum edge ranking spanning trees. J. Algorithms 38, 411–437 (2001)

    Article  MathSciNet  MATH  Google Scholar 

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

    Google Scholar 

  15. Wermelinger, M.: Searching Efficiently in Posets. New University of Lisbon, Topics in Programming Technology (1993)

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Ferdinando Cicalese .

Editor information

Editors and Affiliations

Appendix

Appendix

1.1 Figures

Fig. 1.
figure 1

An example of the tree search problem, T is the input tree and D is a decision tree with \(cost(D) = 7 = cost^D(a) = cost^D(c)\). If the vertices of the tree T represent the parts of a device to assemble, the decision tree corresponds to the assembly procedure that at time 0 joins e with b; then at time 3 joins b with c and e with g. At time 4 the joining of d with c and e with f is started. Finally, at time 6 part a is joined with part c and the procedure ends by time 7.

Fig. 2.
figure 2

An example of the tree S, the important set of vertices X and the auxiliary tree Y in the construction of Sect. 3

figure a

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics