10.6084/m9.figshare.5092522.v1 Jichang Zhao Jichang Zhao An agent-based model for emotion contagion and competition in online social media figshare 2017 emotion emotion contagion emotion competition emotion correlation tie strength agent-based model Social and Community Psychology Human Information Behaviour 2017-06-08 15:58:46 Software https://figshare.com/articles/software/An_agent-based_model_for_emotion_contagion_and_competition_in_online_social_media/5092522 <div>Code of the agent-based emotion contagion model.</div><div><br></div><div>Input parameters:</div><div>weighted directed network path</div><div>simulation result path</div><div>param path</div><div><br></div><div>parameters example:</div><div>data/weighted_graph.txt results/simulation.txt params.conf</div><div><br></div><div>There are 3 input parameters, including the graph path, result path and the params path.</div><div><br></div><div>"params.conf" shows an example of params file. There are 12 params in total, including the probability of pushing new tweets, the screen size, the maximum simulation steps, the proportions of newly posted four emotion, the correlation of the four emotions and the retweet threshold.</div>