hatvis.dynamics.group_consensus#
- hatvis.dynamics.group_consensus(H, x0, t_max=10.0, dt=0.01, lam=0.0, record_every=10)[source]#
Nonlinear group consensus (a generalization of the 3-body model of Neuhäuser et al. 2020).
\[\dot x_i=\sum_{e\ni i}w_e\,\exp\!\big(\lambda\,\sigma_{e\setminus i}\big)\, \big(\bar x_{e\setminus i}-x_i\big),\]where \(\bar x_{e\setminus i}\) and \(\sigma_{e\setminus i}\) are the mean and the standard deviation of the opinions of the other members of hyperedge \(e\). For \(\lambda=0\) the model is linear consensus on the clique expansion with pair weights \(w_e/(|e|-1)\); \(\lambda<0\) lets coherent groups exert more influence (a peer-pressure effect), \(\lambda>0\) the opposite. Explicit Euler integration.