What is the purpose of the arrow $\leftarrow$ in the formula below?

$$V(S_t) \leftarrow V(S_t) + \alpha \left[ G_t - V(S_t) \right]$$

I presume it's not the same as 'equals'.


I assume this is an iterative function. It means the current $V(S_t)$ is the sum of the previous plus some adjustment. The arrow is like an assignment.

In code, you would do

vst = vst + alpha * (gt - vst)

So vst will be overwritten.

| improve this answer | |
  • 1
    $\begingroup$ Hi and welcome to AI SE! Thanks for trying to help. Please, use MathJax to format your equations (i.e. put your equations between two $ symbols). $\endgroup$ – nbro Feb 16 at 18:08
  • $\begingroup$ Makes sense, Dirk. Thank you! $\endgroup$ – mason7663 Feb 16 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.