policyIteDiscount {MDP} | R Documentation |
Perform policy iteration (discount criterion) on the MDP.
policyIteDiscount(mdp, iW, iDur, rate=0.1, rateBase=365)
mdp |
The MDP loaded using loadMDP. |
iW |
index we want to optimize with respect to. |
iDur |
Index of duration/time such that discount rates can be calculated. |
rate |
The interest rate. |
rateBase |
The time-horizon the rate is valid over. |
The policy can afterwards be recieved using functions getPolicy
and getPolicyW
.
Nothing.
Lars Relund lars@relund.dk