src/core/reinforcement/value/SoftQValueFunctionEstimator.java
protected void updateValue(StateTransition stateTransition) throws NeuralNetworkException, MatrixException {
        double value1 = getValues(functionEstimator, stateTransition.environmentState.state()).getValue(getFunctionIndex(stateTransition), 0);
        double value2 = getValues(functionEstimator2, stateTransition.environmentState.state()).getValue(getFunctionIndex(stateTransition), 0);
        stateTransition.value = Math.min(value1, value2);
    }
/**
     * Updates state value.
     *
     * @param stateTransition state transition.
     * @throws NeuralNetworkException throws exception if neural network operation fails.
     * @throws MatrixException throws exception if matrix operation fails.
     */
Updates state value.

@param stateTransition state transition.
@throws NeuralNetworkException throws exception if neural network operation fails.
@throws MatrixException throws exception if matrix operation fails.
Updates state value . @param stateTransition state transition . @throws NeuralNetworkException throws exception if neural network operation fails . @throws MatrixException throws exception if matrix operation fails .
protected void updateValue(StateTransition stateTransition) throws NeuralNetworkException, MatrixException {
        double value1 = getValues(functionEstimator, stateTransition.environmentState.state()).getValue(getFunctionIndex(stateTransition), 0);
        double value2 = getValues(functionEstimator2, stateTransition.environmentState.state()).getValue(getFunctionIndex(stateTransition), 0);
        stateTransition.value = Math.min(value1, value2);
    }
protected void updateValue ( StateTransition stateTransition ) throws NeuralNetworkException , MatrixException { double value1 = getValues ( functionEstimator , stateTransition . environmentState . state ( ) ) . getValue ( getFunctionIndex ( stateTransition ) , 0 ) ; double value2 = getValues ( functionEstimator2 , stateTransition . environmentState . state ( ) ) . getValue ( getFunctionIndex ( stateTransition ) , 0 ) ; stateTransition . value = Math . min ( value1 , value2 ) ; }
Updates state value.
Updates state value .