1920212223242526
cw.setTerminalState(2, 4); cw.setReward(2, 4, -1); cw.setTerminalState(3, 4); cw.setReward(3, 4, 1); return cw.asMdp(); } }