From 1c497518273e04b25984388a29762ccec24e9be1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sverre=20Johann=20Bj=C3=B8rke?= Date: Mon, 3 Apr 2017 16:14:48 +0200 Subject: [PATCH] running new experiment with 0.5 pMUT --- EA/constants.py | 2 +- EA/main.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/EA/constants.py b/EA/constants.py index 2428123..f9062fc 100644 --- a/EA/constants.py +++ b/EA/constants.py @@ -6,7 +6,7 @@ POPSIZE = 10 DECKSIZE = 40 CROSSOVER_RATE = 0.7 -MUTATION_RATE = 0.2 +MUTATION_RATE = 0.5 NUMBER_OF_GENERATIONS = 200 MATCHES_PER_OPPONENT = '50' # must be string! CARD_POOL = read_card_pool('../AER-pool-2.txt') diff --git a/EA/main.py b/EA/main.py index f811e31..37a3814 100644 --- a/EA/main.py +++ b/EA/main.py @@ -148,4 +148,3 @@ def main(): except Exception as e: print("Unexpected error:\n{}".format(e)) send_mail(['sverrejb@stud.ntnu.no', 'knutfludal@gmail.com'], "The program has crashed:\n{}".format(e)) -