KKostya
10/21/2018 - 8:46 PM

expected_biased_strategies.re

let aStayStrategy = (door,choice) => 
    switch(door,choice){ | (DoorA,Stay) => 1.0 | _ => 0.0 };
expected_reward(
  make_scenario_pmf(pDoorsBiased,aStayStrategy)
);
let cSwapStrategy = (door,choice) => 
    switch(door,choice){ | (DoorC,Swap) => 1.0 | _ => 0.0 };
expected_reward(
  make_scenario_pmf(pDoorsBiased,cSwapStrategy)
);
val aStayStrategy : door -> choice -> Q.t = <fun>
- : real = 600000
val cSwapStrategy : door -> choice -> Q.t = <fun>
- : real = 800000