public UpdateState ( int previousState, int previousAction, double reward, int nextState, int nextAction ) : void | ||
previousState | int | Curren state. |
previousAction | int | Action, which lead from previous to the next state. |
reward | double | Reward value, received by taking specified action from previous state. |
nextState | int | Next state. |
nextAction | int | Next action. |
Результат | void |
Sarsa::UpdateState ( int previousState, int previousAction, double reward ) : void |