public interface DifferentiableStateActionValue extends ParametricFunction.ParametricStateActionFunction
ParametricFunction.ParametricStateActionFunction
that
is differentiable.
Useful for state-action value function approximation (e.g., Q-value function approximation).ParametricFunction.ParametricStateActionFunction, ParametricFunction.ParametricStateFunction
Modifier and Type | Method and Description |
---|---|
FunctionGradient |
gradient(State s,
Action a)
Returns the gradient of this function.
|
evaluate
copy, getParameter, numParameters, resetParameters, setParameter
FunctionGradient gradient(State s, Action a)
s
- the input State
a
- the input Action
FunctionGradient
of this function at the input