def execute_all(): STATISTICS_DISPLAYS["help text"] = False test_list = TestsList() all_tests = test_list.create_list_of_tests() stats = MultiexperimentsStatistics() optimization = BestStatistics() for itr in range(len(all_tests)): test_case = test_list.list_of_test[itr] stats.prepare_statistics(test_case) optimization.prepare_statistics() if test_case == []: continue print("======\nTEST CASE " + str(itr + 1) + "\n======") for test in test_case: experiment = execute_one_experiment( port_class_number=test[0], ship_class_number=test[1], test_case=test[2], do_stats=STATISTICS_DISPLAYS["show statistics for experiments"], ) stats.add_statistics(experiment, test) optimization.add_best_statistics(experiment, test) stats.print_tables() optimization.print_best_results() optimization.print_table() return all_tests
""" here goes one possibility test """ from core.one_experiment import execute_one_experiment execute_one_experiment()