Description Usage Arguments Value
The updateTransFunction updates the transition model for simulated experience. It updates the following:
trans$numSims
which keeps track of the number of simulations currently run.
trans$Function
which contains the model's estimate of transitioning to
different states from FC.
The transition table trans$Table
which keeps track of the State/Action/StatePrime/Reward/source of experience
(simulated or not).
trans$Track
which keeps the
running proportion of states observed as a result of the first
action/transition (more detailed trans$Table
).
1 | updateTransFunction(action, statePrime, alpha, real = NULL, x)
|
action |
The action taken in the initial state |
statePrime |
The state reached as a result of taking action a in the initial state. |
alpha |
The learning rate for simulated data. |
real |
The previously experienced "real" S, A, R, S' combination. |
x |
The number of simulations to perform. |
Updates the trans environment objects with the latest values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.