Skip to content

Codes for the paper "Flocking by stopping -- a novel mechanism of consensus in collective movement"

Notifications You must be signed in to change notification settings

tee-lab/pair_stop_paper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Codes for "Flocking by stopping -- a novel mechanism of consensus in collective movement"

###Codes

  1. A Python code ('phaseplane.py') to calculate and plot the phase plane of the ordinary differential equations of the pairwise stop model. The output is a phase plane with axes polarization(m) and average speed(v), in Figure 02 of the manuscript
  2. A Python code ('SDE_Simulation.py') to perform numerical integration of the stochastic differential equation of the pairwise stop model. The output is a time series of the group polarization and average speed, in the Appendix Figure & Figure 04 of the manuscript
  3. A Python code ('Gillespie_Simulation.py') to perform numerical simulation of the discrete pairwise stop model. The output is a time series of the group polarization and average speed, in the Appendix Figure & Figure 04 of the manuscript
  4. A Python code ('Bifurcation.py') to plot a bifurcation diagram of the ordinary differential equations of the pairwise stop model. The output is a bifurcation plot for group polarization and average group speed, in Figure 03 of the manuscript.

About

Codes for the paper "Flocking by stopping -- a novel mechanism of consensus in collective movement"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages