English

Balanced Substructures in Bicolored Graphs

Data Structures and Algorithms 2024-04-03 v2 Computational Complexity

Abstract

An edge-colored graph is said to be balanced if it has an equal number of edges of each color. Given a graph GG whose edges are colored using two colors and a positive integer kk, the objective in the Edge Balanced Connected Subgraph problem is to determine if GG has a balanced connected subgraph containing at least kk edges. We first show that this problem is NP-complete and remains so even if the solution is required to be a tree or a path. Then, we focus on the parameterized complexity of Edge Balanced Connected Subgraph and its variants (where the balanced subgraph is required to be a path/tree) with respect to kk as the parameter. Towards this, we show that if a graph has a balanced connected subgraph/tree/path of size at least kk, then it has one of size at least kk and at most f(k)f(k) where ff is a linear function. We use this result combined with dynamic programming algorithms based on color coding and representative sets to show that Edge Balanced Connected Subgraph and its variants are FPT. Further, using polynomial-time reductions to the Multilinear Monomial Detection problem, we give faster randomized FPT algorithms for the problems. In order to describe these reductions, we define a combinatorial object called relaxed-subgraph. We define this object in such a way that balanced connected subgraphs, trees and paths are relaxed-subgraphs with certain properties. This object is defined in the spirit of branching walks known for the Steiner Tree problem and may be of independent interest.

Keywords

Cite

@article{arxiv.2403.06608,
  title  = {Balanced Substructures in Bicolored Graphs},
  author = {P. S. Ardra and R. Krithika and Saket Saurabh and Roohani Sharma},
  journal= {arXiv preprint arXiv:2403.06608},
  year   = {2024}
}

Comments

Minor changes

R2 v1 2026-06-28T15:15:35.548Z