On the Hardness and Inapproximability of Recognizing Wheeler Graphs

02/05/2019
by   Daniel Gibney, et al.
0

In recent years several compressed indexes based on variants of the Borrows-Wheeler transformation have been introduced. Some of these index structures far more complex than a single string, as was originally done with the FM-index [Ferragina and Manzini, J. ACM 2005]. As such, there has been an effort to better understand under which conditions such an indexing scheme is possible. This led to the introduction of Wheeler graphs [Gagie it et al., Theor. Comput. Sci., 2017]. A Wheeler graph is a directed graph with edge labels which satisfies two simple axioms. Wheeler graphs can be indexed in a way which is space efficient and allows for fast traversal. Gagie et al. showed that de Bruijn graphs, generalized compressed suffix arrays, and several other BWT related structures can be represented as Wheeler graphs. Here we answer the open question of whether or not there exists an efficient algorithm for recognizing if a graph is a Wheeler graph. We demonstrate:(i) Recognizing if a graph is a Wheeler graph is NP-complete for any edge label alphabet of size σ≥ 2, even for DAGs. It can be solved in linear time for σ =1; (ii) An optimization variant called Wheeler Graph Violation (WGV) which aims to remove the minimum number of edges needed to obtain a Wheeler graph is APX-hard, even for DAGs. Hence, unless P = NP, there exists constant C > 1 such that there is no C-approximation algorithm. We show conditioned on the Unique Games Conjecture, for every constant C ≥ 1, it is NP-hard to find a C-approximation to WGV; (iii) The Wheeler Subgraph problem (WS) which aims to find the largest Wheeler subgraph is in APX for σ=O(1); (iv) For the above problems there exist efficient exponential time exact algorithms, relying on graph isomorphism being computed in strictly sub-exponential time; (v) A class of graphs where the recognition problem is polynomial time solvable.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/28/2023

Algorithms for subgraph complementation to some classes of graphs

For a class 𝒢 of graphs, the objective of Subgraph Complementation to 𝒢 ...
research
03/04/2021

On subgraph complementation to H-free graphs

For a class 𝒢 of graphs, the problem SUBGRAPH COMPLEMENT TO 𝒢 asks wheth...
research
02/25/2021

Algorithms and Complexity on Indexing Founder Graphs

We study the problem of matching a string in a labeled graph. Previous r...
research
11/08/2019

On the Complexity of BWT-runs Minimization via Alphabet Reordering

We present the first set of results on the computational complexity of m...
research
12/11/2022

Beyond circular-arc graphs – recognizing lollipop graphs and medusa graphs

In 1992 Biró, Hujter and Tuza introduced, for every fixed connected grap...
research
11/23/2022

Complexity Framework For Forbidden Subgraphs

For any finite set ℋ = {H_1,…,H_p} of graphs, a graph is ℋ-subgraph-free...
research
10/31/2019

Edge minimization in de Bruijn graphs

This paper introduces the de Bruijn graph edge minimization problem, whi...

Please sign up or login with your details

Forgot password? Click here to reset