m <- fisheries_matrices()
## Takes > 5s
if(assert_has_appl()){
alpha <- sarsop(m$transition, m$observation, m$reward, 0.95, precision = 10)
sim <- hindcast_pomdp(m$transition, m$observation, m$reward, 0.95,
obs = rnorm(21, 15, .1), action = rep(1, 21),
alpha = alpha)
}
Run the code above in your browser using DataLab