English

Tighter Bounds for Wheeler Determinization

Data Structures and Algorithms 2026-07-01 v1

Abstract

Given a Wheeler NFA A\mathcal{A}, the Wheeler determinization problem is to construct a Wheeler DFA D\mathcal{D} that accepts the same language as A\mathcal{A}. We use the notation nA,mAn_{\mathcal{A}},m_{\mathcal{A}} for the number of vertices and edges of A\mathcal{A}, and equivalently nD,mDn_{\mathcal{D}},m_{\mathcal{D}} for D\mathcal{D}. Alanko et al. [SODA 2020, Inf. Comp. 2021] show that we can solve this problem in O(nA3)O(n_{\mathcal{A}}^3) time. In this paper, we show how to improve the running time to O(nA+mA+nD+mD)O(n_{\mathcal{A}} + m_{\mathcal{A}} + n_{\mathcal{D}} + m_{\mathcal{D}}) when given the Wheeler order of A\mathcal{A} (which can be computed in O(mAlognA)O(m_{\mathcal{A}}\log n_{\mathcal{A}}) with an algorithm by Becker et al. [ESA 2023]). Our running time is a factor nA2/σn_{\mathcal{A}}^2/\sigma faster than the state of the art, where σ\sigma is the size of the alphabet. Furthermore, for σ=O(1)\sigma=O(1) we have the first linear time algorithm for this problem. We show that our bound is tight for sorted inputs with any combination of nn and σ\sigma, by giving a family of inputs for which our output D\mathcal{D} is minimum, and of maximum size Θ(nσ)\Theta(n\sigma).

Cite

@article{arxiv.2607.01007,
  title  = {Tighter Bounds for Wheeler Determinization},
  author = {Philip Bille and Inge Li Gørtz and Máximo Pérez-López and Simon R. Tarnow},
  journal= {arXiv preprint arXiv:2607.01007},
  year   = {2026}
}

Comments

6 pages main body, 1 figure