forked from s444399/AI
24 lines
511 B
Python
24 lines
511 B
Python
|
|
|
|
|
|
class Data:
|
|
|
|
def __init__(self):
|
|
self.zajeteRegaly = [] #krotka (x,y)
|
|
self.mapa = []
|
|
self.unbox = []
|
|
self.astarMap = []
|
|
self.geny = []
|
|
self.kordyWozka = None
|
|
self.jakLiczycKoszt = None
|
|
self.best = None
|
|
self.histZmian = []
|
|
self.doWykresu = []
|
|
|
|
def genMap(self, mapa):
|
|
tmpMap =[]
|
|
tmpMap = mapa.copy()
|
|
for regal in self.zajeteRegaly:
|
|
tmpMap[regal[0]][regal[1]] = 2
|
|
return tmpMap
|