Fix running game in pure dt mode

This commit is contained in:
Michał Czekański 2020-05-24 19:29:29 +02:00
parent 34eb74d980
commit 597a709224

View File

@ -70,6 +70,9 @@ class Game:
else: else:
print("Running Decision Tree.") print("Running Decision Tree.")
self.dtRun(filesPath) self.dtRun(filesPath)
else:
print("Running Decision Tree.")
self.dtRun(filesPath)
# Genetic algorithm # Genetic algorithm
elif argv[1] == "ga" and len(argv) >= 3: elif argv[1] == "ga" and len(argv) >= 3:
if len(argv) >= 4 and argv[3] == "-t": if len(argv) >= 4 and argv[3] == "-t":