From 734db1d1d2a34ccc5258babd483ddb96e22e676e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Sun, 24 Mar 2024 09:07:50 +0100 Subject: [PATCH] Update. --- evasion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evasion.py b/evasion.py index 5d9547f..9f37494 100755 --- a/evasion.py +++ b/evasion.py @@ -184,8 +184,8 @@ def episodes2str(states, actions, rewards, unicode=False, ansi_colors=False): ###################################################################### if __name__ == "__main__": - height, width, T = 4, 6, 20 - states, actions, rewards = generate_episodes(3, height, width, T) + nb, height, width, T = 8, 4, 6, 20 + states, actions, rewards = generate_episodes(nb, height, width, T) seq = episodes2seq(states, actions, rewards) s, a, r = seq2episodes(seq, height, width) print(episodes2str(s, a, r, unicode=True, ansi_colors=True)) -- 2.39.5