English

Average Case Graph Searching in Non-Uniform Cost Models

Data Structures and Algorithms 2026-03-19 v1 Information Retrieval

Abstract

We consider the following generalization of the classic Binary Search Problem: a searcher is required to find a hidden target vertex xx in a graph GG, by iteratively performing queries about vertices. A query to vv incurs a cost c(v,x)c(v, x) and responds whether v=xv=x and if not, returns the connected component in GvG-v containing xx. The goal is to design a search strategy that minimizes the average-case search cost. Firstly, we consider the case when the cost of querying a vertex is independent of the target. We develop a \br4+ϵ\br{4+\epsilon}-approximation FPTAS for trees running in O(n4/ϵ2)O(n^4/\epsilon^2) time and an O(logn)O({\sqrt{\log n}})-approximation for general graphs. Additionally, we give an FPTAS parametrized by the number of non-leaf vertices of the graph. On the hardness side we prove that the problem is NP-hard even when the input is a tree with bounded degree or bounded diameter. Secondly, we consider trees and assume c(v,x)c(v, x) to be a monotone non-decreasing function with respect to xx, i.e.\ if uPv,xu \in P_{v, x} then c(u,x)c(v,x)c(u, x) \leq c(v, x). We give a 22-approximation algorithm which can also be easily altered to work for the worst-case variant. This is the first constant factor approximation algorithm for both criterions. Previously known results only regard the worst-case search cost and include a parametrized PTAS as well as a 44-approximation for paths. At last, we show that when the cost function is an arbitrary function of the queried vertex and the target, then the problem does not admit any constant factor approximation under the UGC, even when the input tree is a star.

Keywords

Cite

@article{arxiv.2603.17916,
  title  = {Average Case Graph Searching in Non-Uniform Cost Models},
  author = {Michał Szyfelbein},
  journal= {arXiv preprint arXiv:2603.17916},
  year   = {2026}
}

Comments

arXiv admin note: substantial text overlap with arXiv:2511.06564

R2 v1 2026-07-01T11:26:32.536Z