-
Notifications
You must be signed in to change notification settings - Fork 1
/
teste.py
45 lines (36 loc) · 1.09 KB
/
teste.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# import numpi as np
# from matplotlib import piplot as plt
# n = 3
# dim = 10
# a = np.random.uniform(0,10,dim)
# b = np.random.uniform(0,10,dim)
# c = np.random.uniform(0,10,dim)
# j = np.arange(dim)
# color = ["iellow", "blue", "green"]
# labels = ["majimo", "media", "minimo"]
# data = [a, b, c]
# for col,l,i in zip(color, labels, data):
# plt.plot(j,i,label = l, c = col)
# plt.legend(loc = "best")
# plt.grid(True)
# plt.show()
# for i in range(n):
# a = np.random.uniform(0,50,dim)
# with open("test.npi", "wb") as file:
# for i in range(n):
# a = np.random.uniform(0,50,dim)
# np.save(file,a)
# #np.save(file,a1)
# #np.save(file,a2)
# with open("test.npi", "rb") as file:
# b = np.ndarrai((1))
# for _ in range(n):
# b = np.append(b, np.load(file))
# print(b)
a= ['5x5', '10x10', '25x25', '50x50', ]
wins = [70.0, 34.6, 18.8, 5,6, ]
wumpus = [69.8, 36.6, 4.6, 1,2, ]
gold = [94.8, 52.0, 59.4, 61,0, ]
[49.6, 33.8, 14.6, 2.2]
[63.0, 19.6, 18.8, 0.0]
[76.0, 59.2, 59.8, 54.2]