Nothing Special   »   [go: up one dir, main page]

skip to main content
article

Optimal Search in Trees

Published: 01 August 1999 Publication History

Abstract

It is well known that the optimal solution for searching in a finite total order set is binary search. In binary search we divide the set into two "halves" by querying the middle element and continue the search on the suitable half. What is the equivalent of binary search when the set P is partially ordered? A query in this case is to a point $x\in P$, with two possible answers: "yes" indicates that the required element is "below" x or "no" if the element is not below x. We show that the problem of computing an optimal strategy for search in posets that are tree-like (or forests) is polynomial in the size of the tree and requires at most O(n4 log3 n) steps. Optimal solutions of such search problems are often needed in program testing and debugging, where a given program is represented as a tree and a bug should be found using a minimal set of queries. This type of search is also applicable in searching classified large tree-like databases (e.g., the Internet).

Cited By

View all
  • (2024)The Query Complexity of Searching Trees with Permanently Noisy AdviceACM Transactions on Algorithms10.1145/370720721:2(1-30)Online publication date: 5-Dec-2024
  • (2024)Combinatorial Generation via Permutation Languages. IV. Elimination TreesACM Transactions on Algorithms10.1145/368963321:1(1-41)Online publication date: 17-Dec-2024
  • (2024)Tight Approximation Bounds on a Simple Algorithm for Minimum Average Search Time in TreesApproximation and Online Algorithms10.1007/978-3-031-81396-2_8(104-118)Online publication date: 4-Sep-2024
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image SIAM Journal on Computing
SIAM Journal on Computing  Volume 28, Issue 6
Dec. 1999
377 pages
ISSN:0097-5397
  • Editor:
  • M. Yannakakis
Issue’s Table of Contents

Publisher

Society for Industrial and Applied Mathematics

United States

Publication History

Published: 01 August 1999

Author Tags

  1. binary search
  2. optimal search
  3. posets
  4. search in graphs
  5. search in trees

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 05 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2024)The Query Complexity of Searching Trees with Permanently Noisy AdviceACM Transactions on Algorithms10.1145/370720721:2(1-30)Online publication date: 5-Dec-2024
  • (2024)Combinatorial Generation via Permutation Languages. IV. Elimination TreesACM Transactions on Algorithms10.1145/368963321:1(1-41)Online publication date: 17-Dec-2024
  • (2024)Tight Approximation Bounds on a Simple Algorithm for Minimum Average Search Time in TreesApproximation and Online Algorithms10.1007/978-3-031-81396-2_8(104-118)Online publication date: 4-Sep-2024
  • (2023)Partial Order Multiway SearchACM Transactions on Database Systems10.1145/362695648:4(1-31)Online publication date: 13-Nov-2023
  • (2023)An Optimal Algorithm for Partial Order Multiway SearchACM SIGMOD Record10.1145/3604437.360445652:1(84-92)Online publication date: 8-Jun-2023
  • (2023)Competitive Online Search Trees on TreesACM Transactions on Algorithms10.1145/359518019:3(1-19)Online publication date: 24-Jun-2023
  • (2022)Noisy Interactive Graph SearchProceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining10.1145/3534678.3539267(231-240)Online publication date: 14-Aug-2022
  • (2022)Optimal Algorithms for Multiway Search on Partial OrdersProceedings of the 41st ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/3517804.3524150(175-187)Online publication date: 12-Jun-2022
  • (2021)Navigating in Trees with Permanently Noisy AdviceACM Transactions on Algorithms10.1145/344830517:2(1-27)Online publication date: 6-Jun-2021
  • (2021)The Complexity of Bicriteria Tree-DepthFundamentals of Computation Theory10.1007/978-3-030-86593-1_7(100-113)Online publication date: 12-Sep-2021
  • Show More Cited By

View Options

View options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media