src/core/reinforcement/algorithm/AbstractQLearning.java
protected void updateFunctionEstimator() throws MatrixException, NeuralNetworkException, DynamicParamException, AgentException {
        if(valueFunction.readyToUpdate(this)) {
            valueFunction.sample();
            if (!updateValuePerEpisode) valueFunction.update();
            valueFunction.updateFunctionEstimator();
            valueFunction.resetFunctionEstimator();
        }
    }
/**
     * Updates value function of agent.
     *
     * @throws MatrixException throws exception if matrix operation fails.
     * @throws NeuralNetworkException throws exception if neural network operation fails.
     * @throws DynamicParamException throws exception if parameter (params) setting fails.
     * @throws AgentException throws exception if memory instances of value and policy function are not equal.
     */
Updates value function of agent.

@throws MatrixException throws exception if matrix operation fails.
@throws NeuralNetworkException throws exception if neural network operation fails.
@throws DynamicParamException throws exception if parameter (params) setting fails.
@throws AgentException throws exception if memory instances of value and policy function are not equal.
Updates value function of agent . @throws MatrixException throws exception if matrix operation fails . @throws NeuralNetworkException throws exception if neural network operation fails . @throws DynamicParamException throws exception if parameter ( params ) setting fails . @throws AgentException throws exception if memory instances of value and policy function are not equal .
protected void updateFunctionEstimator() throws MatrixException, NeuralNetworkException, DynamicParamException, AgentException {
        if(valueFunction.readyToUpdate(this)) {
            valueFunction.sample();
            if (!updateValuePerEpisode) valueFunction.update();
            valueFunction.updateFunctionEstimator();
            valueFunction.resetFunctionEstimator();
        }
    }
protected void updateFunctionEstimator ( ) throws MatrixException , NeuralNetworkException , DynamicParamException , AgentException { if ( valueFunction . readyToUpdate ( this ) ) { valueFunction . sample ( ) ; if ( ! updateValuePerEpisode ) valueFunction . update ( ) ; valueFunction . updateFunctionEstimator ( ) ; valueFunction . resetFunctionEstimator ( ) ; } }
Updates value function of agent.
Updates value function of agent .