find_pomdp_solve {pomdpSolve}R Documentation

Find the executable for 'pomdp-solve'

Description

Find the pomdp-solve executable to solve Partially Observable Decision Processes (POMDPs) (Kaelbling et al, 1998) installed by the pomdpSolve package.

Usage

find_pomdp_solve()

Details

This package only provides a direct interface to the executable. A more convenient and powerful interface is provided by the function pomdp::solve_POMDP() in package pomdp.

The executable of pomdp-solve in this direct interface needs to be called with system2() and runs in a separate process. This way, a failure in the solver will not compromise the R session. pomdp-solve creates files with the value function and the policy graph (see read_write).

Value

returns the path to the 'pomdp-solve' executable as a string or stops with an error.

References

Kaelbling, L.P., Littman, M.L., Cassandra, A.R. (1998). Planning and acting in partially observable stochastic domains. Artificial Intelligence. 101 (1–2): 99-134. doi:10.1016/S0004-3702(98)00023-X

Anthony R. Cassandra, pomdp-solve documentation, https://www.pomdp.org/code/index.html

See Also

read_write

Examples

# find the location of the pomdp-solve executable
find_pomdp_solve()

# get pomdp-solve options
system2(find_pomdp_solve(), args = "-h")

# an example of how to solve a simple POMDP can be found in the man page
# for read_write.

[Package pomdpSolve version 1.0.4 Index]