figshare
Browse
EmotionAgentModel.zip (66.31 MB)

An agent-based model for emotion contagion and competition in online social media

Download (66.31 MB)
Version 2 2017-12-20, 04:29
Version 1 2017-06-08, 15:58
software
posted on 2017-06-08, 15:58 authored by Jichang ZhaoJichang Zhao
Code of the agent-based emotion contagion model.

Input parameters:
weighted directed network path
simulation result path
param path

parameters example:
data/weighted_graph.txt results/simulation.txt params.conf

There are 3 input parameters, including the graph path, result path and the params path.

"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.

History