hatvis.dynamics#

Dynamical processes on hypergraphs.

Group interactions change dynamics qualitatively: linear diffusion on a hypergraph is diffusion on a weighted projection, but nonlinear group influence (consensus driven by the agreement of the other group members) and threshold-type social contagion produce effects — sudden transitions, bistability, slowed or accelerated convergence — that pairwise models cannot (Battiston et al. 2020; Iacopini et al. 2019; Neuhäuser, Mellor and Lambiotte 2020).

Diffusion, nonlinear group consensus, threshold contagion, random walks.

Functions#

diffusion(H, x0, times[, kind])

Linear diffusion \(\dot{\mathbf{x}}=-\mathbf{L}\mathbf{x}\) with a hypergraph Laplacian.

group_consensus(H, x0[, t_max, dt, lam, ...])

Nonlinear group consensus (a generalization of the 3-body model of Neuhäuser et al. 2020).

threshold_contagion(H[, beta, mu, theta, ...])

Discrete-time SIS contagion through hyperedges with a threshold.

random_walk_trajectory(H, start[, n_steps, ...])

Simulate a random walk on the vertices (see hatvis.spectral.transition_matrix()).