English

Linear-Time Recognition of Double-Threshold Graphs

Data Structures and Algorithms 2021-12-14 v2 Discrete Mathematics Combinatorics

Abstract

A graph G=(V,E)G = (V,E) is a double-threshold graph if there exist a vertex-weight function w ⁣:VRw \colon V \to \mathbb{R} and two real numbers lb,ubR\mathtt{lb}, \mathtt{ub} \in \mathbb{R} such that uvEuv \in E if and only if lbw(u)+w(v)ub\mathtt{lb} \le \mathtt{w}(u) + \mathtt{w}(v) \le \mathtt{ub}. In the literature, those graphs are studied also as the pairwise compatibility graphs that have stars as their underlying trees. We give a new characterization of double-threshold graphs that relates them to bipartite permutation graphs. Using the new characterization, we present a linear-time algorithm for recognizing double-threshold graphs. Prior to our work, the fastest known algorithm by Xiao and Nagamochi [Algorithmica 2020] ran in O(n3m)O(n^{3} m) time, where nn and mm are the numbers of vertices and edges, respectively.

Keywords

Cite

@article{arxiv.1909.09371,
  title  = {Linear-Time Recognition of Double-Threshold Graphs},
  author = {Yusuke Kobayashi and Yoshio Okamoto and Yota Otachi and Yushi Uno},
  journal= {arXiv preprint arXiv:1909.09371},
  year   = {2021}
}

Comments

18 pages, 8 figures

R2 v1 2026-06-23T11:21:05.077Z