Learn R Programming

pomdp (version 0.99.2)

write_POMDP: Read and write a POMDP Model to a File in POMDP Format

Description

Reads and write a POMDP file suitable for the pomdp-solve program. Note: read POMDP files are intended to be used in solve_POMDP() and do not support all auxiliary functions. Fields like the transition matrix, the observation matrix and the reward structure are not parsed.

Usage

write_POMDP(model, file, digits = 7)

read_POMDP(file)

Arguments

model

an object of class POMDP_model.

file

a file name.

digits

precision for writing numbers (digits after the decimal point).

Value

read_POMDP returns a POMDP object.

References

POMDP solver website: http://www.pomdp.org

See Also

POMDP