Computer Simulation and Modeling: Research on evolution in regular networks as opposed to non-regular networks
garcia_punish = Regular network with Punishers
garcia_testing = Regular network without Punishers
coop_with_pun = Non-regular network with Punishers
coop_without_pun = Non-regular network without Punishers
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