A social-relation-based game model for distributed clustering in cooperative wireless networks