Algorithmic Aspects of Homophyly of Networks
Abstract
We investigate the algorithmic problems of the {\it homophyly phenomenon} in networks. Given an undirected graph and a vertex coloring of , we say that a vertex is {\it happy} if shares the same color with all its neighbors, and {\it unhappy}, otherwise, and that an edge is {\it happy}, if its two endpoints have the same color, and {\it unhappy}, otherwise. Supposing is a {\it partial vertex coloring} of , 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 be the number of colors allowed in the problems. We show that both MHV and MHE can be solved in polynomial time if , and that both MHV and MHE are NP-hard if . We devise a -approximation algorithm for the MHV problem, where 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