Skip to content

Simulating a social network model of belief transmission.

Notifications You must be signed in to change notification settings

tobanw/conviction-conformity-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Network Simulation

Requirements

  • Anaconda
  • Python 2.7
  • pip

Installation

This assumes you're using Anaconda (and hence already have networkx, numpy, scipy, pandas, matplotlib). ComplexNetworkSim is in pypi, so you can install it with pip.

$ pip install ComplexNetworkSim

ComplexNetworkSim requires SimPy version 2, which can be installed from Anaconda:

$ conda install "simpy>=2.3,<3"

Usage

Set parameters and output directory, then run

$ python sim-main.py

See the ComplexNetworkSim docs to learn more.

Animation example

ComplexNetworkSim provides an easy way to create an animated gif to vizualize a process on a network:

random-network

About

Simulating a social network model of belief transmission.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages