The 2-Attractor Problem Is NP-Complete

被引:0
作者
Fuchs, Janosch [1 ]
Whittington, Philip [2 ]
机构
[1] Rhein Westfal TH Aachen, Aachen, Germany
[2] Swiss Fed Inst Technol, Zurich, Switzerland
来源
41ST INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE, STACS 2024 | 2024年 / 289卷
关键词
String attractors; dictionary compression; computational complexity;
D O I
10.4230/LIPIcs.STACS.2024.35
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A k-attractor is a combinatorial object unifying dictionary-based compression. It allows to compare the repetitiveness measures of different dictionary compressors such as Lempel-Ziv 77, the BurrowsWheeler transform, straight line programs and macro schemes. For a string T is an element of E-n, the k-attractor is defined as a set of positions F subset of [1,n], such that every distinct substring of length at most k is covered by at least one of the selected positions. Thus, if a substring occurs multiple times in T, one position suffices to cover it. A 1-attractor is easily computed in linear time, while Kempa and Prezza [STOC 2018] have shown that for k >= 3, it is NP -complete to compute the smallest k-attractor by a reduction from k-set cover. The main result of this paper answers the open question for the complexity of the 2-attractor problem, showing that the problem remains NP -complete. Kempa and Prezza's proof for k >= 3 also reduces the 2-attractor problem to the 2 -set cover problem, which is equivalent to edge cover, but that does not fully capture the complexity of the 2-attractor problem. For this reason, we extend edge cover by a color function on the edges, yielding the colorful edge cover problem. Any edge cover must then satisfy the additional constraint that each color is represented. This extension raises the complexity such that colorful edge cover becomes NP -complete while also more precisely modeling the 2-attractor problem. We obtain a reduction showing k-attractor to be NP -complete and APX-hard for any k >= 2.
引用
收藏
页数:13
相关论文
共 25 条
  • [1] Sensitivity of string compressors and repetitiveness measures
    Akagi, Tooru
    Funakoshi, Mitsuru
    Inenaga, Shunsuke
    [J]. INFORMATION AND COMPUTATION, 2023, 291
  • [2] Akbari S, 2011, ELECTRON J COMB, V18
  • [3] Bannai Hideo, 2022, 30 ANN EUR S ALG ESA, V244
  • [4] Bentert M, 2023, AAAI CONF ARTIF INTE, P12346
  • [5] On some matching problems under the color-spanning model
    Bereg, Sergey
    Ma, Feifei
    Wang, Wencheng
    Zhang, Jian
    Zhu, Binhai
    [J]. THEORETICAL COMPUTER SCIENCE, 2019, 786 : 26 - 31
  • [6] Berman P., 2003, Electro. Colloquium Comput. Complex., V049
  • [7] Busing Christina, 2018, Electronic Notes in Discrete Mathematics, V64, P245, DOI DOI 10.1016/J.ENDM.2018.01.026
  • [8] Optimal-Time Dictionary-Compressed Indexes
    Christiansen, Anders Roy
    Ettienne, Mikko Berggren
    Kociumaka, Tomasz
    Navarro, Gonzalo
    Prezza, Nicola
    [J]. ACM TRANSACTIONS ON ALGORITHMS, 2021, 17 (01)
  • [9] Cohen J., 2017, ELECT NOTES DISCRETE, V62, P219, DOI [DOI 10.1016/J, DOI 10.1016/J.ENDM.2017.10.038]
  • [10] Finding Colorful Paths in Temporal Graphs
    Dondi, Riccardo
    Hosseinzadeh, Mohammad Mehdi
    [J]. COMPLEX NETWORKS & THEIR APPLICATIONS X, VOL 1, 2022, 1015 : 553 - 565