updateTransFunction: Update Transition Model

Description Usage Arguments Value

View source: R/transitions.R

Description

The updateTransFunction updates the transition model for simulated experience. It updates the following:

Usage

1
updateTransFunction(action, statePrime, alpha, real = NULL, x)

Arguments

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.

Value

Updates the trans environment objects with the latest values.


jdtrat/dynaq documentation built on July 24, 2020, 7:18 a.m.