English

Algorithmic Aspects of Homophyly of Networks

Data Structures and Algorithms 2012-07-03 v1

Abstract

We investigate the algorithmic problems of the {\it homophyly phenomenon} in networks. Given an undirected graph G=(V,E)G = (V, E) and a vertex coloring c ⁣:V1,2,...,kc \colon V \rightarrow {1, 2, ..., k} of GG, we say that a vertex vVv\in V is {\it happy} if vv shares the same color with all its neighbors, and {\it unhappy}, otherwise, and that an edge eEe\in E is {\it happy}, if its two endpoints have the same color, and {\it unhappy}, otherwise. Supposing cc is a {\it partial vertex coloring} of GG, we define the Maximum Happy Vertices problem (MHV, for short) as to color all the remaining vertices such that the number of happy vertices is maximized, and the Maximum Happy Edges problem (MHE, for short) as to color all the remaining vertices such that the number of happy edges is maximized. Let kk be the number of colors allowed in the problems. We show that both MHV and MHE can be solved in polynomial time if k=2k = 2, and that both MHV and MHE are NP-hard if k3k \geq 3. We devise a max1/k,Ω(Δ3)\max {1/k, \Omega(\Delta^{-3})}-approximation algorithm for the MHV problem, where Δ\Delta is the maximum degree of vertices in the input graph, and a 1/2-approximation algorithm for the MHE problem. This is the first theoretical progress of these two natural and fundamental new problems.

Keywords

Cite

@article{arxiv.1207.0316,
  title  = {Algorithmic Aspects of Homophyly of Networks},
  author = {Angsheng Li and Peng Zhang},
  journal= {arXiv preprint arXiv:1207.0316},
  year   = {2012}
}

Comments

23 pages, 5 figures