A model to predict communications in dynamic social networks