eights)
      optimal_arm    &lt;- which_max_tied(self$weights)
      reward  &lt;- list(
        reward                   = rewards[action$choice],    # &lt;- reward here
        optimal_arm              = optimal_arm,               
        optimal_reward           = rewards[optimal_arm]       # &lt;- optimal reward here
      )
    }
  )</pre></body></html></div>
<p>…</p>
</div>
  </div>

  <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">

        <nav id="toc" data-toggle="toc"><h2 data