Skip to content

TUmasters/opinion-dynamics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opinion Dynamics on a Social Network

This is a simple tool that tracks changes of opinions on asocial network using models described in the paper Opposites repel: the effect of incorporating repulsion on opinion dynamics in the bounded confidence model.

Dynamics are constrained by a static social network, which can be configured by a .properties file. Currently supported network generation algorithms are:

  • Barabasi-Albert preferential attachment

  • Watts-Strogatz small world

  • Erdos-Renyi random network

  • (semi-complete) A group-based algorithm that generates strongly connected clusters.

There are also some statistics-tracking tools as well, which can be extended in an ugly fashion. Those tools call GNUPlot on the outputted data using a .plt file.

Installation

Install GNUPlot on your machine, and make sure that the PATH is adjusted so that it can be called by running

gnuplot

in the command line. Then simply run

./gradlew build

to install the dependencies. It should run out-of-the-box in IDEA or Eclipse, but no guarantees.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages