> <span class="kw">=</span> <span class="fl">TRUE</span>)
      } <span class="kw">else</span> {
        <span class="no">action</span>$<span class="no">choice</span>           <span class="kw">&lt;-</span> <span class="fu">max_in</span>(<span class="no">self</span>$<span class="no">theta</span>$<span class="no">mean</span>)
      }
      <span class="no">action</span>
    },
    <span class="kw">set_reward</span> <span class="kw">=</span> <span class="kw">function</span>(<span class="no">t</span>, <span cl