diff options
author | Toby Vincent <tobyv13@gmail.com> | 2021-09-30 13:41:18 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2021-09-30 13:41:18 -0500 |
commit | b3359393525b827d75a5b0745c3d1d8c9362dc5e (patch) | |
tree | 00c1244674ff311e79c0db96778054a9432bc3ec /src/test_cases/q4/1-expectimax2.test | |
parent | eb2bb60f1ce8cb65ff05c9eb73c19255c574e850 (diff) |
Diffstat (limited to 'src/test_cases/q4/1-expectimax2.test')
-rw-r--r-- | src/test_cases/q4/1-expectimax2.test | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/test_cases/q4/1-expectimax2.test b/src/test_cases/q4/1-expectimax2.test new file mode 100644 index 0000000..d220fe6 --- /dev/null +++ b/src/test_cases/q4/1-expectimax2.test @@ -0,0 +1,48 @@ +class: "GraphGameTreeTest" +alg: "ExpectimaxAgent" +depth: "2" + +# Tree from lecture 7 slides +diagram: """ + max + /-/ | \--\ + / | \ + / | \ + exp1 exp2 exp3 + /|\ /|\ /|\ + / | \ / | \ / | \ +A B C D E F G H I +3 12 9 2 4 6 15 6 0 +""" +num_agents: "2" + +start_state: "max" +win_states: "A B C D E F G H I" +lose_states: "" + +successors: """ +max Left exp1 +max Center exp2 +max Right exp3 +exp1 Left A +exp1 Center B +exp1 Right C +exp2 Left D +exp2 Center E +exp2 Right F +exp3 Left G +exp3 Center H +exp3 Right I +""" + +evaluation: """ +A 3.0 +B 12.0 +C 9.0 +D 2.0 +E 4.0 +F 6.0 +G 15.0 +H 6.0 +I 0.0 +""" |