TY - JOUR
T1 - The parameterized complexity of the properly colored spanning tree problem
AU - Bai, Yuhang
AU - Zhang, Shenggui
AU - Bai, Yandong
AU - Tu, Jianhua
N1 - Publisher Copyright:
© 2026 Elsevier B.V.
PY - 2026/10/30
Y1 - 2026/10/30
N2 - A properly colored spanning tree in an edge-colored graph is a spanning tree in which every two adjacent edges have distinct colors. A weakly properly colored spanning tree T with fixed root r is a spanning tree in which every path in T, from r to any leaf, is a properly colored path. We demonstrate that it is NP-complete to determine whether a planar graph contains a properly colored spanning tree, even for planar graphs with maximum degree four using only two colors. We also investigate the generalized properly colored spanning tree problem, where given a graph that every edge is assigned a set of colors, determine whether the graph contains a properly colored spanning tree, in which no two adjacent edges share a color. Surprisingly, this problem is polynomial-time solvable for trees but NP-hard for partial 2-trees with each edge assigned at most two colors. Additionally, we prove that it is W[1]-hard to decide whether an edge-colored graph contains a weakly properly colored spanning tree when parameterized by the treewidth. On the positive side, we show that these problems are fixed-parameter tractable when parameterized by combining the treewidth and the number of colors.
AB - A properly colored spanning tree in an edge-colored graph is a spanning tree in which every two adjacent edges have distinct colors. A weakly properly colored spanning tree T with fixed root r is a spanning tree in which every path in T, from r to any leaf, is a properly colored path. We demonstrate that it is NP-complete to determine whether a planar graph contains a properly colored spanning tree, even for planar graphs with maximum degree four using only two colors. We also investigate the generalized properly colored spanning tree problem, where given a graph that every edge is assigned a set of colors, determine whether the graph contains a properly colored spanning tree, in which no two adjacent edges share a color. Surprisingly, this problem is polynomial-time solvable for trees but NP-hard for partial 2-trees with each edge assigned at most two colors. Additionally, we prove that it is W[1]-hard to decide whether an edge-colored graph contains a weakly properly colored spanning tree when parameterized by the treewidth. On the positive side, we show that these problems are fixed-parameter tractable when parameterized by combining the treewidth and the number of colors.
KW - Edge-colored graph
KW - FPT algorithm
KW - Parameterized complexity
KW - Properly colored spanning tree
KW - Treewidth
UR - https://www.scopus.com/pages/publications/105040740975
U2 - 10.1016/j.dam.2026.05.026
DO - 10.1016/j.dam.2026.05.026
M3 - 文章
AN - SCOPUS:105040740975
SN - 0166-218X
VL - 392
SP - 89
EP - 101
JO - Discrete Applied Mathematics
JF - Discrete Applied Mathematics
ER -