span class="p">,</span> <span class="n">epsilon</span><span class="p">):</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;Epsilon-greedy policy.</span>

<span class="sd">        Args:</span>
<span class="sd">            state (int): State.</span>
<span class="sd">            epsilon (float): Epsilon of epsilon-greedy policy.</span>
<span class="sd">                Defaults to 0 for pure exploitation.</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="k">ra