Last active
October 23, 2018 12:49
-
-
Save KKostya/409a67c87f1a1bfae9e36eeb23012948 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let random_then_swap_strategy = (door : door,choice) => | |
switch(door,choice){ | (_,Swap) => Real.(1.0 / 3.0) | _ => 0.0 }; | |
expected_reward( | |
make_scenario_pmf(pDoorsEqual,random_then_swap_strategy) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val random_then_swap_strategy : door -> choice -> real = <fun> | |
- : real = 2000000/3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment