Skip to main content

Module dynamics

Module dynamics 

Source
Available on crate feature dynamics only.
Expand description

Kuramoto synchronization dynamics, first ported from xgi/dynamics/synchronization.py.

XGI 1.0 dropped its dynamics package. This module stays as an extra of this crate, behind the dynamics feature; it is no longer checked against XGI and the Python bindings no longer expose it.

NOTE: XGI’s dynamics/ slice is Kuramoto synchronization, NOT epidemic (SIR/SIS) models — the spec’s “epidemic” summary is wrong (see the Phase-6 plan header). This module ports the pieces whose dependencies exist by Phase 6: simulate_kuramoto (pairwise + triangle coupling) and compute_kuramoto_order_parameter. The simplicial Kuramoto pair needs the Phase-3 Hodge boundary matrix + SimplicialComplex and is deferred.

Complex arithmetic is done manually with (re, im) f64 pairs (no num-complex dependency). Randomness (default omega/theta) uses seeded rand_pcg::Pcg64Mcg; sequence-level parity with numpy is NOT claimed (spec §9.4).

Functions§

compute_kuramoto_order_parameter
The Kuramoto order parameter timeseries.
simulate_kuramoto
Simulate the Kuramoto model on a hypergraph (pairwise + triangle coupling).