src/core/reinforcement/agent/DeepAgent.java
public void act(int action) throws NeuralNetworkException, MatrixException {
        policy.act(stateTransition, action);
        stateTransition.action = action;
        environment.commitAction(this, stateTransition.action);
    }
/**
     * Takes action defined by external agent.
     *
     * @param action action.
     * @throws NeuralNetworkException throws exception if neural network operation fails.
     * @throws MatrixException throws exception if matrix operation fails.
     */
Takes action defined by external agent.

@param action action.
@throws NeuralNetworkException throws exception if neural network operation fails.
@throws MatrixException throws exception if matrix operation fails.
Takes action defined by external agent . @param action action . @throws NeuralNetworkException throws exception if neural network operation fails . @throws MatrixException throws exception if matrix operation fails .
public void act(int action) throws NeuralNetworkException, MatrixException {
        policy.act(stateTransition, action);
        stateTransition.action = action;
        environment.commitAction(this, stateTransition.action);
    }
public void act ( int action ) throws NeuralNetworkException , MatrixException { policy . act ( stateTransition , action ) ; stateTransition . action = action ; environment . commitAction ( this , stateTransition . action ) ; }
Takes action defined by external agent.
Takes action defined by external agent .