English

Improved Parameterized Complexity of Happy Set Problems

Data Structures and Algorithms 2023-01-24 v1

Abstract

We present fixed-parameter tractable (FPT) algorithms for two problems, Maximum Happy Set (MaxHS) and Maximum Edge Happy Set (MaxEHS)--also known as Densest k-Subgraph. Given a graph GG and an integer kk, MaxHS asks for a set SS of kk vertices such that the number of happy vertices\textit{happy vertices} with respect to SS is maximized, where a vertex vv is happy if vv and all its neighbors are in SS. We show that MaxHS can be solved in time O(2mwmwk2V(G))\mathcal{O}\left(2^\textsf{mw} \cdot \textsf{mw} \cdot k^2 \cdot |V(G)|\right) and O(8cwk2V(G))\mathcal{O}\left(8^\textsf{cw} \cdot k^2 \cdot |V(G)|\right), where mw\textsf{mw} and cw\textsf{cw} denote the modular-width\textit{modular-width} and the clique-width\textit{clique-width} of GG, respectively. This resolves the open questions posed in literature. The MaxEHS problem is an edge-variant of MaxHS, where we maximize the number of happy edges\textit{happy edges}, the edges whose endpoints are in SS. In this paper we show that MaxEHS can be solved in time f(nd)V(G)O(1)f(\textsf{nd})\cdot|V(G)|^{\mathcal{O}(1)} and O(2cdk2V(G))\mathcal{O}\left(2^{\textsf{cd}}\cdot k^2 \cdot |V(G)|\right), where nd\textsf{nd} and cd\textsf{cd} denote the neighborhood diversity\textit{neighborhood diversity} and the cluster deletion number\textit{cluster deletion number} of GG, respectively, and ff is some computable function. This result implies that MaxEHS is also fixed-parameter tractable by twin cover number\textit{twin cover number}.

Keywords

Cite

@article{arxiv.2207.06623,
  title  = {Improved Parameterized Complexity of Happy Set Problems},
  author = {Yosuke Mizutani and Blair D. Sullivan},
  journal= {arXiv preprint arXiv:2207.06623},
  year   = {2023}
}
R2 v1 2026-06-25T00:54:05.856Z