From 4504d0d412702ac0d3e52bac454446adeac887a5 Mon Sep 17 00:00:00 2001 From: xVulpeSx Date: Sat, 14 May 2022 15:05:43 +0200 Subject: [PATCH] resolved problems with Direction class --- main.py | 2 ++ pathfinding/PathFinderState.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index b46e274..853abdb 100644 --- a/main.py +++ b/main.py @@ -12,12 +12,14 @@ from sklearn.tree import DecisionTreeClassifier from ClientParamsFactory import ClientParamsFactory from ForkliftAgent import ForkliftAgent +from GameModel import GameModel from PatchAgent import PatchAgent from PatchType import PatchType from data.enum.CompanySize import CompanySize from data.enum.Direction import Direction from data.enum.Priority import Priority from tree.DecisionTree import DecisionTree +from util.PathDefinitions import GridWithWeights colors = [ 'blue', 'cyan', 'orange', 'yellow', 'magenta', 'purple', '#103d3e', '#9fc86c', diff --git a/pathfinding/PathFinderState.py b/pathfinding/PathFinderState.py index 4195016..832ac85 100644 --- a/pathfinding/PathFinderState.py +++ b/pathfinding/PathFinderState.py @@ -1,6 +1,6 @@ from typing import List -from data.Direction import Direction +from data.enum.Direction import Direction from decision.ActionType import ActionType from util.PathDefinitions import GridLocation