Skip to main navigation Skip to search Skip to main content

The parameterized complexity of the properly colored spanning tree problem

  • Northwestern Polytechnical University Xian
  • Beijing Technology and Business University

Research output: Contribution to journalArticlepeer-review

Abstract

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.

Original languageEnglish
Pages (from-to)89-101
Number of pages13
JournalDiscrete Applied Mathematics
Volume392
DOIs
StatePublished - 30 Oct 2026

Keywords

  • Edge-colored graph
  • FPT algorithm
  • Parameterized complexity
  • Properly colored spanning tree
  • Treewidth

Fingerprint

Dive into the research topics of 'The parameterized complexity of the properly colored spanning tree problem'. Together they form a unique fingerprint.

Cite this