Changed seed

This commit is contained in:
Marcin Kostrzewski 2020-05-18 14:58:44 +02:00
parent b20ac9c356
commit a0da920e39

View File

@ -36,8 +36,8 @@ def geneticAlgorithm(map, iter, solutions, mutationAmount=0.05, multithread=Fals
# Set the RNG seed for this GA # Set the RNG seed for this GA
# 5 is good for weak start # 125 is good for weak start
random.seed(5) random.seed(125)
# Begin # Begin
for i in range(iter): for i in range(iter):
print("\nRunning {} generation...".format(i + 1)) print("\nRunning {} generation...".format(i + 1))