This repository contains implementations of the Leviathan Model. The Leviathan model is an opinion dynamics model described in [(Deffuant et al., 2013)](http://jasss.soc.surrey.ac.uk/16/1/5.html).
Leviathan has been also studied for two groups of agents which differ in their parameters in [(Huet et al., 2020)](https://journals.plos.org/plosone/article/authors?id=10.1371/journal.pone.0236840).
Two implementations are here provided:
- In the directory "```Leviathan```" is an Java implementation that offer a software that can be used on your desktop, and the code can be easily modified for your experiments.
- In the directory "```Leviathan-js```", you will find a Javascript implementation that allows to use the model online with the web application: https://lisc.pages.mia.inra.fr/leviathan/