An agent-based model for emotion contagion and competition in online social media
2017-12-20T04:29:55Z (GMT) by
Code and demo datasets of the agent-based emotion contagion model.
weighted directed network path
simulation result path
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 16 params in total:
Rand: A boolean value. If it is true, users will have random screen size. default: false
PN: The probability of publishing new tweet (If PNPath is empty)
PNPath: The probability of publishing new tweets for users
PNMoodPath: The ratio of four emotions for users
screenSize: default screen size
MAX_STEP: the maximum simulation steps
angerRatio, disgustRatio, joyfulRatio, sadnessRatio: the proportions of newly posted four emotion
angerCorr, disgustCorr, joyfulCorr, sadnessCorr: the correlation of the four emotions and the retweet threshold.