Commit Graph

15 Commits

Author SHA1 Message Date
mos a05bdc4c03 rewrite ratio to evaluate only once 2024-11-13 14:39:38 +01:00
mos ed4d53979b add rnd macro 2024-11-13 14:03:31 +01:00
mos 79357432d7 add constants for agent rewards and penalties 2024-11-13 13:47:24 +01:00
mos f226635edd implement display trait for cell 2024-11-13 13:37:33 +01:00
mos 41af614d74 use DIR_POS for box testing 2024-10-29 19:33:19 +01:00
mos 412072abda pass str ref as parameter 2024-10-28 10:43:00 +01:00
mos b7d7b27566 inline toggle_box to eliminate bounds checking 2024-10-25 10:09:19 +02:00
mos 816a3cbc3a replace agent clone with explicit move 2024-10-13 13:45:21 +02:00
mos 485807aefb default to singlethreaded mode 2024-10-12 17:00:28 +02:00
mos cf012a78e3 borrow pos 2024-10-10 16:41:31 +02:00
mos fdbc4ad83d add bounds check for bpos 2024-10-10 16:33:45 +02:00
mos 74b430a498 replace neg with sub 2024-10-10 15:18:46 +02:00
mos 23547f1626 alias result 2024-10-10 14:35:06 +02:00
mos ea962dc8cf improve error handling 2024-10-10 14:31:07 +02:00
mos f34c06758f initial commit 2024-10-10 13:43:15 +02:00