m <- fisheries_matrices()
discount <- 0.95
## Takes > 5s
if(assert_has_appl()){
alpha <- sarsop(m$transition, m$observation, m$reward, discount, precision = 10)
sim <- sim_pomdp(m$transition, m$observation, m$reward, discount,
x0 = 5, Tmax = 20, alpha = alpha)
}
Run the code above in your browser using DataLab