public interface DifferentiableVInit extends ValueFunctionInitialization
| Modifier and Type | Interface and Description |
|---|---|
static class |
DifferentiableVInit.ParamedDiffVInit
A abstract class for
DifferentiableVInit
that includes a double array of parameters and methods to modify them. |
ValueFunctionInitialization.ConstantValueFunctionInitialization| Modifier and Type | Method and Description |
|---|---|
double[] |
getQGradient(State s,
AbstractGroundedAction ga)
Returns the Q-value function gradient.
|
double[] |
getVGradient(State s)
Returns the value function gradient.
|
qValuevaluedouble[] getVGradient(State s)
s - the state on which the value function is to be evaluateddouble[] getQGradient(State s, AbstractGroundedAction ga)
s - the state on which the Q-value is to be evaluated.ga - the action on which the Q-value is to be evaluated.