alphas_from_log {sarsop} | R Documentation |
alphas_from_log
Description
Read alpha vectors from a log file.
Usage
alphas_from_log(meta, log_dir = ".")
Arguments
meta |
a data frame containing the log metadata
for each set of alpha vectors desired, see
|
log_dir |
path to log directory |
Value
a list with a matrix of alpha vectors for each
entry in the provided metadata (as returned by sarsop
).
Examples
# takes > 5s
source(system.file("examples/fisheries-ex.R", package = "sarsop"))
log = tempfile()
alpha <- sarsop(transition, observation, reward, discount, precision = 10,
log_dir = log)
[Package sarsop version 0.6.15 Index]