Opinion Dynamics Models

These micro-behaviours were inspired by the paper "How can extremism prevail? A study based on the relative agreement interaction model" by Guillaume Deffuant, Frédéric Amblard, Gérard Weisbuch and Thierry Faure (2002); Journal of Artificial Societies and Social Simulation vol. 5, no. 4; <http://jasss.soc.surrey.ac.uk/5/4/1.html>.

CHANGE-OPINION-IN-NEIGHBOURHOOD -- I may change my opinion when I meet someone nearby

CHANGE-OPINION-SOCIAL-NETWORK-- I may change my opinion when I interact with someone I know

RELATIVE-AGREEMENT -- Here's how I change my opinion (if I do)

SET-RANDOM-OPINION -- I initialise my opinion to a random value

SET-OPINION-UNCERTAINTY -- I initialise my uncertainty of this opinion

SET-EXTREME-OPINION-NEGATIVE -- I become an extremist with an opinion of -1

SET-EXTREME-OPINION-POSITIVE -- I become an extremist with an opinion of -1

SET-HEADING-TO-CURRENT-OPINION -- My heading is computed from my current opinion so you can see what's happening

SET-SIZE-TO-UNCERTAINTY -- I grow as I become more certain

ADD-RANDOM-POPULATION - I create a population with random opinion values.

CREATE-OPINION-PLOT -- Creates a plot for displaying opinions over time

PLOT-MY-OPINION -- Add a plot of my opinion to the Opinion Plot

Here is a relative agreement model