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.
Connections
Explore this paper’s authors, topics and related work.
Building this map preview
BZPEER is loading the nearby papers, people, topics and institutions for this page.
Reviews 0
Write a review
No reviews yet.
Discussion 0
Add a comment
No comments yet.