loadMDP {MDP}R Documentation

Create the HMDP defined in the binary files.

Description

Create the HMDP defined in the binary files. The model are created in memory using the external C++ library.

Usage

loadMDP<-function(prefix="", binNames=c("stateIdx.bin","stateIdxLbl.bin","actionIdx.bin",
"actionIdxLbl.bin","actionWeight.bin","actionWeightLbl.bin","transProb.bin"), eps = 0.00001)

Arguments

prefix A character string with the prefix added to binNames.
binNames A character vector of length 7 giving the names of the binary files storing the model.
eps The sum of the transition probablities must at most differ eps from one.

Value

A list containing binNames and a pointer ptr to the model.

Author(s)

Lars Relund lars@relund.dk


[Package MDP version 1.0 Index]