-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.py
More file actions
40 lines (38 loc) · 916 Bytes
/
Copy pathconfig.py
File metadata and controls
40 lines (38 loc) · 916 Bytes
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
class Config:
#
gamma = 1.
v0 = 0.
q0 = 0.
target_transition_reward = 0.
#
letters = 'abcdefg'
numbers = '12345'
orientations = 'frbl'
actions = 'frl'
#
edges = {
('a1', 'a2'): -46.,
('a4', 'b4'): -100.,
('a3', 'b3'): -100.,
('a2', 'b2'): -100.,
('b4', 'b5'): -100.,
('c4', 'c5'): -100.,
('d4', 'd5'): -100.,
('e4', 'e5'): -100.,
('f4', 'f5'): -100.,
('g3', 'g4'): -100.,
('f3', 'f4'): -100.,
('e3', 'e4'): -100.,
('d3', 'd4'): -100.,
('c3', 'c4'): -100.,
('b2', 'b3'): -100.,
('c2', 'c3'): -100.,
('d2', 'd3'): -100.,
('e2', 'e3'): -100.,
('f2', 'f3'): -100.,
('e1', 'f1'): -100.,
('f2', 'g2'): -100.,
('d2', 'e2'): -100.,
('c1', 'd1'): -100.,
}
edge_default_reward = -1.0