convertHMP2Binary {MDP}R Documentation

Convert a HMDP model stored in a hmp (xml) file to binary file format.

Description

Convert a HMDP model stored in a hmp (xml) file to binary file format.

Usage

convertHMP2Binary(file, prefix="")

Arguments

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.

Details

The function simply parse the hmp file and create binary files using the binaryMDPWriter.

Value

NULL (invisible).

Note

Note all indexes are starting from zero (C/C++ style).

Author(s)

Lars Relund lars@relund.dk

See Also

binaryMDPWriter.

Examples

f = system.file("inst/models", "mdp.xml", package = "MDP")
convertHMP2Binary("mdp.hmp")
stateIdxDf()
actionInfo()

[Package MDP version 1.0 Index]