From a0da920e397c9e30fc4ff59f3a6f40491d387e89 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Mon, 18 May 2020 14:58:44 +0200 Subject: [PATCH] Changed seed --- src/AI/GA.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AI/GA.py b/src/AI/GA.py index 26169ab..692189e 100644 --- a/src/AI/GA.py +++ b/src/AI/GA.py @@ -36,8 +36,8 @@ def geneticAlgorithm(map, iter, solutions, mutationAmount=0.05, multithread=Fals # Set the RNG seed for this GA - # 5 is good for weak start - random.seed(5) + # 125 is good for weak start + random.seed(125) # Begin for i in range(iter): print("\nRunning {} generation...".format(i + 1))