def series(gephi_stuff): # the Highest function (hehe) print "series!" config.set_g(gephi_stuff['g']) config.set_gephi(gephi_stuff) gi.save_weights() for run_num in range(0, config.runs_per_series): stats.run_num = run_num simulation_run() stats.write_history()
def initialize_run(): """ initialization procedures. For example: attaching methods to nodes. """ global count_iterations count_iterations = 0 stats.collector = None stats.new_collector() gi.save_weights()