Skip to main content

Module network_dynamics

Module network_dynamics 

Source
Expand description

Network/graph dynamics: epidemic models, opinion dynamics, synchronization.

This module implements:

Structs§

CommunityDetection
Community detection via modularity maximization.
DeGrootModel
DeGroot consensus model: linear opinion pooling on a network.
KuramotoModel
Kuramoto model of coupled oscillators.
NetworkGraph
Adjacency-list graph for network dynamics simulations.
NetworkRobustness
Network robustness analysis via percolation theory.
OpinionDynamics
Deffuant-Weisbuch bounded confidence opinion dynamics.
PageRank
PageRank via power iteration with teleportation and dangling node handling.
RandomWalkGraph
Random walk on a graph with analysis of hitting and cover times.
SeirdModel
Extended SEIRD epidemic model: Susceptible, Exposed, Infected, Recovered, Deceased.
SeirdState
State of SEIRD model.
SirModel
SIR epidemic model (ODE version for homogeneous mixing).
SirState
State of SIR model at one time step.
SmallWorld
Watts-Strogatz small-world network model.
VoterModel
Voter model: each agent copies a random neighbor’s opinion.