Expand description
Network/graph dynamics: epidemic models, opinion dynamics, synchronization.
This module implements:
NetworkGraph: adjacency list representation, directed/undirected, weighted edgesSirModel: Susceptible-Infectious-Recovered epidemic model (ODE + network)SeirdModel: extended SEIRD epidemic (Exposed + Deceased compartments)OpinionDynamics: Deffuant-Weisbuch bounded confidence modelDeGrootModel: consensus update ruleVoterModel: majority rule opinion dynamicsKuramotoModel: coupled oscillators synchronizationRandomWalkGraph: random walk on graph, hitting time, cover timePageRank: power iteration with dangling node handlingCommunityDetection: modularity Q, greedy modularity maximizationNetworkRobustness: percolation threshold, giant component fractionSmallWorld: Watts-Strogatz rewiring, clustering coefficient, path length
Structs§
- Community
Detection - Community detection via modularity maximization.
- DeGroot
Model - DeGroot consensus model: linear opinion pooling on a network.
- Kuramoto
Model - Kuramoto model of coupled oscillators.
- Network
Graph - Adjacency-list graph for network dynamics simulations.
- Network
Robustness - Network robustness analysis via percolation theory.
- Opinion
Dynamics - Deffuant-Weisbuch bounded confidence opinion dynamics.
- Page
Rank - PageRank via power iteration with teleportation and dangling node handling.
- Random
Walk Graph - Random walk on a graph with analysis of hitting and cover times.
- Seird
Model - Extended SEIRD epidemic model: Susceptible, Exposed, Infected, Recovered, Deceased.
- Seird
State - State of SEIRD model.
- SirModel
- SIR epidemic model (ODE version for homogeneous mixing).
- SirState
- State of SIR model at one time step.
- Small
World - Watts-Strogatz small-world network model.
- Voter
Model - Voter model: each agent copies a random neighbor’s opinion.