Skip to content

Commit a2d671f

Browse files
committed
Checkin build.properties
1 parent 29d34b5 commit a2d671f

2 files changed

Lines changed: 33 additions & 22 deletions

File tree

demos/Traffic Basic - Reinforcement.nlogo

Lines changed: 32 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ to setup
3838
py:set "state_dims" length inputs
3939
py:set "hl_size" 36
4040
py:set "num_actions" 3
41-
py:set "lr" 0.0002
4241
py:set "memory_size" 10000
4342
py:set "batch_size" 128
4443

@@ -111,7 +110,7 @@ to go
111110
set reward (log (speed + 0.0000000000005) 2)
112111
;set reward speed
113112
]
114-
train
113+
if train? [ train ]
115114
tick
116115
end
117116

@@ -208,9 +207,9 @@ ticks
208207

209208
BUTTON
210209
110
211-
95
210+
55
212211
182
213-
136
212+
96
214213
NIL
215214
setup
216215
NIL
@@ -225,9 +224,9 @@ NIL
225224

226225
BUTTON
227226
193
228-
96
227+
56
229228
264
230-
136
229+
96
231230
NIL
232231
go
233232
T
@@ -241,10 +240,10 @@ NIL
241240
0
242241

243242
SLIDER
244-
12
245-
34
246-
216
247-
67
243+
15
244+
15
245+
265
246+
48
248247
number-of-cars
249248
number-of-cars
250249
1
@@ -257,9 +256,9 @@ HORIZONTAL
257256

258257
SLIDER
259258
15
260-
175
259+
135
261260
265
262-
208
261+
168
263262
deceleration
264263
deceleration
265264
0
@@ -272,9 +271,9 @@ HORIZONTAL
272271

273272
SLIDER
274273
15
275-
140
274+
100
276275
265
277-
173
276+
133
278277
acceleration
279278
acceleration
280279
0
@@ -307,9 +306,9 @@ PENS
307306

308307
BUTTON
309308
15
310-
95
309+
55
311310
97
312-
135
311+
95
313312
NIL
314313
setup-tf
315314
NIL
@@ -324,9 +323,9 @@ NIL
324323

325324
SLIDER
326325
15
327-
305
326+
240
328327
265
329-
338
328+
273
330329
discount
331330
discount
332331
0
@@ -339,9 +338,9 @@ HORIZONTAL
339338

340339
SLIDER
341340
15
342-
270
341+
205
343342
265
344-
303
343+
238
345344
exploration-rate
346345
exploration-rate
347346
0
@@ -374,9 +373,9 @@ PENS
374373

375374
SLIDER
376375
15
377-
210
376+
170
378377
265
379-
243
378+
203
380379
stop-penalty
381380
stop-penalty
382381
0
@@ -387,6 +386,17 @@ stop-penalty
387386
NIL
388387
HORIZONTAL
389388

389+
SWITCH
390+
15
391+
275
392+
117
393+
308
394+
train?
395+
train?
396+
0
397+
1
398+
-1000
399+
390400
@#$#@#$#@
391401
## WHAT IS IT?
392402

project/build.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sbt.version=0.13.16

0 commit comments

Comments
 (0)