Description Usage Arguments Value Author(s) Examples
Info about the states in the HMDP model under consideration.
1 | stateIdxMat(prefix = "", file = "stateIdx.bin")
|
prefix |
A character string with the prefix added to til file(s). |
file |
The HMDP binary file containing the description under consideration. |
A matrix with columns (sId, n0, s0, a0, ...) where sId is the state row id, n0 the index of the stage at level 0, s0 the index of the state and a0 the index of the action. If the HMDP has more than one level columns index (d1, s1, a1, ...) are added.
Lars Relund lars@relund.dk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | wDir<-getwd()
setwd(system.file("models", package = "MDP"))
prefix<-"machine1_"
stateIdxMat(prefix)
stateIdxDf(prefix)
actionIdxMat(prefix)
actionIdxDf(prefix)
actionWeightMat(prefix)
weightNames(prefix)
transProbMat(prefix)
a<-actionInfo(prefix)
a[order(a$sId),]
setwd(wDir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.