convertHMP2Binary {MDP} | R Documentation |
Convert a HMDP model stored in a hmp (xml) file to binary file format.
convertHMP2Binary(file, prefix="")
file |
The name of the hmp file (e.g. mdp.hmp). |
prefix |
A character string with the prefix which will be added to the binary files. |
The function simply parse the hmp file and create binary files using the binaryMDPWriter.
NULL (invisible).
Note all indexes are starting from zero (C/C++ style).
Lars Relund lars@relund.dk
f = system.file("inst/models", "mdp.xml", package = "MDP") convertHMP2Binary("mdp.hmp") stateIdxDf() actionInfo()