arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1705.08282cs.DScs.CC
收藏

快乐着色问题的算法和困难性结果

Algorithms and hardness results for happy coloring problems

N. R. Aravind, Subrahmanyam Kalyanasundaram, Anjeneya Swami Kare, Juho Lauri

摘要:

在顶点着色图中,如果一条边的端点具有相同的颜色,则该边是快乐的。类似地,如果顶点的所有关联边都是快乐的,则顶点是快乐的。受社交网络中同伦计算的启发,我们考虑了以下最大快乐边(k-MHE)问题的算法方面:给定一个部分k-着色图G,找到G的一个扩展的全k-着色,使快乐边的数目最大化.当我们想要最大化快乐顶点的数量时,这个问题被称为最大快乐顶点(k-MHV)。我们进一步研究了问题的复杂性及其加权变体。例如,我们证明了,对于任何k >= 3,这两个问题是NP-完全的二部图和k-MHV仍然很难分裂图。在精确算法方面,我们证明了这两个问题都可以在O*(2^n)的时间内解决,并且当k = 3时,给出了一个更快的O*(1.89^n)时间算法。从参数化的角度来看,我们给出了一个线性顶点核加权k-MHE,其中的边缘加权,目标是获得至少指定的总重量的快乐的边缘。最后,我们证明了当图具有有界树宽或有界邻域多样性时,这两个问题都是多项式时间可解的。

英文摘要:

In a vertex-colored graph, an edge is happy if its endpoints have the same color. Similarly, a vertex is happy if all its incident edges are happy. Motivated by the computation of homophily in social networks, we consider the algorithmic aspects of the following Maximum Happy Edges (k-MHE) problem: given a partially k-colored graph G, find an extended full k-coloring of G maximizing the number of happy edges. When we want to maximize the number of happy vertices, the problem is known as Maximum Happy Vertices (k-MHV). We further study the complexity of the problems and their weighted variants. For instance, we prove that for every k >= 3, both problems are NP-complete for bipartite graphs and k-MHV remains hard for split graphs. In terms of exact algorithms, we show both problems can be solved in time O*(2^n), and give an even faster O*(1.89^n)-time algorithm when k = 3. From a parameterized perspective, we give a linear vertex kernel for Weighted k-MHE, where edges are weighted and the goal is to obtain happy edges of at least a specified total weight. Finally, we prove both problems are solvable in polynomial-time when the graph has bounded treewidth or bounded neighborhood diversity.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑