计算机科学 > 数据结构与算法
[提交于 2018年9月10日 (v1),最后修订于 2018年11月12日 (此版本, v4)]
标题:Optimal Partition of a Tree with Social Distance
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We study the problem to find a partition of \textcolor{black}{a} graph $G$ with maximum social welfare based on social distance between vertices in $G$, called MaxSWP. This problem is known to be NP-hard in general. In this paper, we first give a complete characterization of optimal partitions of trees with small diameters. Then, by utilizing these results, we show that MaxSWP can be solved in linear time for trees. Moreover, we show that MaxSWP is NP-hard even for 4-regular graphs.