""" This program cues up and executes multiple runs of PYGE. Results of runs are parsed and placed in a spreadsheet for easy visual analysis. Copyright (c) 2014 Michael Fenton Hereby licensed under the GNU GPL v3.""" from sys import path path.append("../src") from utilities.algorithm.general import check_python_version check_python_version() from multiprocessing import Pool from subprocess import call import sys from algorithm.parameters import params, set_params from scripts.stats_parser import parse_stats_from_runs def execute_run(seed): """ Initialise all aspects of a run. :return: Nothing. """ exec_str = "python3 ponyge.py " \ "--random_seed " + str(seed) + " " + " ".join(sys.argv[1:]) call(exec_str, shell=True)
""" This program cues up and executes multiple runs of PYGE. Results of runs are parsed and placed in a spreadsheet for easy visual analysis. Copyright (c) 2014 Michael Fenton Hereby licensed under the GNU GPL v3.""" from sys import path path.append("../src") from utilities.algorithm.general import check_python_version check_python_version() from multiprocessing import Pool from subprocess import call import sys from algorithm.parameters import params, set_params from scripts.stats_parser import parse_stats_from_runs def execute_run(seed): """ Initialise all aspects of a run. :return: Nothing. """ exec_str = "python3 ponyge.py " \ "--random_seed " + str(seed) + " " + " ".join(sys.argv[1:]) call(exec_str, shell=True)