Skip to content

Computer Simulation and Modeling: Research on evolution in regular networks as opposed to non-regular networks

License

Notifications You must be signed in to change notification settings

ivanezeigbo/Regular-and-Non-regular-Biological-Networks

Repository files navigation

Regular-and-Non-regular-Biological-Networks

Computer Simulation and Modeling: Research on evolution in regular networks as opposed to non-regular networks

File Structure

Regular Networks

garcia_punish = Regular network with Punishers
garcia_testing = Regular network without Punishers

Non-regular Networks

coop_with_pun = Non-regular network with Punishers
coop_without_pun = Non-regular network without Punishers

Additional Functionalities

Comment the plotter() function after the line "if Same == True #case for everyone having the same strategy" (you can Ctrl + F or Cmd + F this as they may appear at different lines of code for the four models) and the lines of code right under 'label = {}' up until 'plt.show()' in the Graph() function in order to avoid watching the generational evolution in the biological network.

To view graph, first install networkx.

pip install networkx

Design of biological interaction


Average Payoff Against N (from 64 to 256)

Why did punishment evolve? Outcome of experiment (treatment = presence of punishers):

About

Computer Simulation and Modeling: Research on evolution in regular networks as opposed to non-regular networks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages