File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
116115end
117116
@@ -208,9 +207,9 @@ ticks
208207
209208BUTTON
210209110
211- 95
210+ 55
212211182
213- 136
212+ 96
214213NIL
215214setup
216215NIL
225224
226225BUTTON
227226193
228- 96
227+ 56
229228264
230- 136
229+ 96
231230NIL
232231go
233232T
@@ -241,10 +240,10 @@ NIL
2412400
242241
243242SLIDER
244- 12
245- 34
246- 216
247- 67
243+ 15
244+ 15
245+ 265
246+ 48
248247number-of-cars
249248number-of-cars
2502491
@@ -257,9 +256,9 @@ HORIZONTAL
257256
258257SLIDER
25925815
260- 175
259+ 135
261260265
262- 208
261+ 168
263262deceleration
264263deceleration
2652640
@@ -272,9 +271,9 @@ HORIZONTAL
272271
273272SLIDER
27427315
275- 140
274+ 100
276275265
277- 173
276+ 133
278277acceleration
279278acceleration
2802790
307306
308307BUTTON
30930815
310- 95
309+ 55
31131097
312- 135
311+ 95
313312NIL
314313setup-tf
315314NIL
324323
325324SLIDER
32632515
327- 305
326+ 240
328327265
329- 338
328+ 273
330329discount
331330discount
3323310
@@ -339,9 +338,9 @@ HORIZONTAL
339338
340339SLIDER
34134015
342- 270
341+ 205
343342265
344- 303
343+ 238
345344exploration-rate
346345exploration-rate
3473460
374373
375374SLIDER
37637515
377- 210
376+ 170
378377265
379- 243
378+ 203
380379stop-penalty
381380stop-penalty
3823810
@@ -387,6 +386,17 @@ stop-penalty
387386NIL
388387HORIZONTAL
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
Original file line number Diff line number Diff line change 1+ sbt.version =0.13.16
You can’t perform that action at this time.
0 commit comments