All examples By author By category About

lwthatcher

Consensus Dynamics II

Consensus Dynamics II

Simulates consensus dynamics based off of a provided graph-Laplacian matrix. For each simulation random points are generated in (x,y) coordinates from the range [-50,50] and are updated with each time step as they propogate towards convergence. That convergence is directly impacted by the structure of the corresponding graph that is being modeled.

With each graph the eigenvalues are also listed, where the Fiedler eigenvalue is the first non-zero eigenvalue. You can see the dynamics where with lower Fiedler eigenvalues the graph takes longer to converge.

Instructions

Note: The x axis and y axis are not currently on the same scale.

forked from lwthatcher's block: Consensus Dynamics Diffusion