Description Usage Arguments Value Examples
sarsop_plus
1 2  | sarsop_plus(models, discount, state_prior = NULL, mc.cores = 1L,
  log_data = NULL, ...)
 | 
models | 
 a list of lists, each of which gives the transition matrix, observation matrix and reward matrix for the model considered  | 
discount | 
 discount rate  | 
state_prior | 
 Prior belief that system is in state x_i and model m_i  | 
mc.cores | 
 number of parallel cores to use  | 
log_data | 
 a data frame with information to be logged, one row for each model. Leave NULL if not logging  | 
... | 
 additional options to sarsop::sarsop, if alphas are not provided  | 
A list of alpha vector matrices
1 2 3 4 5 6  | ## Not run: 
#' source(system.file("examples/K_models.R", package="pomdpplus"))
alphas <- sarsop_plus(models, discount, precision = 1)
unif <- compute_plus_policy(alphas, models, c(0.5, 0.5))
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.