- 1
- 2
- 3
- 4
- 5
(let ((actions (make-list 100 :initial-element (make-list 100 :initial-element (make-list 1000 :initial-element most-negative-fixnum #| your action reward |# )))))
(labels ((find-best-action (life)
(if (numberp life) life (apply #'max (mapcar #'find-best-action life)))))
(print (find-best-action actions)))) ;; the best your life outcome
Follow us!
Комментарии (2) RSS
Добавить комментарий