Skip to content

Commit fe0f942

Browse files
committed
docs html build
1 parent b4fdb61 commit fe0f942

File tree

9 files changed

+11
-8
lines changed

9 files changed

+11
-8
lines changed

docs/html/_modules/pomdp_problems/tiger/tiger_problem.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ <h3>Navigation</h3>
5454
<li class="toctree-l1"><a class="reference internal" href="../../../examples.html">Examples</a></li>
5555
<li class="toctree-l1"><a class="reference internal" href="../../../design_principles.html">Design Principles</a></li>
5656
<li class="toctree-l1"><a class="reference internal" href="../../../existing_solvers.html">Existing POMDP Solvers</a></li>
57+
<li class="toctree-l1"><a class="reference internal" href="../../../changelog.html">What's New?</a></li>
5758
</ul>
5859
<p class="caption" role="heading"><span class="caption-text">API References</span></p>
5960
<ul>
@@ -284,8 +285,8 @@ <h1>Source code for pomdp_problems.tiger.tiger_problem</h1><div class="highlight
284285
<div class="viewcode-block" id="PolicyModel"><a class="viewcode-back" href="../../../problems/pomdp_problems.tiger.html#pomdp_problems.tiger.tiger_problem.PolicyModel">[docs]</a><span class="k">class</span> <span class="nc">PolicyModel</span><span class="p">(</span><span class="n">pomdp_py</span><span class="o">.</span><span class="n">RolloutPolicy</span><span class="p">):</span>
285286
<span class="w"> </span><span class="sd">&quot;&quot;&quot;A simple policy model with uniform prior over a</span>
286287
<span class="sd"> small, finite action space&quot;&quot;&quot;</span>
287-
<span class="n">ACTIONS</span> <span class="o">=</span> <span class="p">{</span><span class="n">TigerAction</span><span class="p">(</span><span class="n">s</span><span class="p">)</span>
288-
<span class="k">for</span> <span class="n">s</span> <span class="ow">in</span> <span class="p">{</span><span class="s2">&quot;open-left&quot;</span><span class="p">,</span> <span class="s2">&quot;open-right&quot;</span><span class="p">,</span> <span class="s2">&quot;listen&quot;</span><span class="p">}}</span>
288+
<span class="n">ACTIONS</span> <span class="o">=</span> <span class="p">[</span><span class="n">TigerAction</span><span class="p">(</span><span class="n">s</span><span class="p">)</span>
289+
<span class="k">for</span> <span class="n">s</span> <span class="ow">in</span> <span class="p">{</span><span class="s2">&quot;open-left&quot;</span><span class="p">,</span> <span class="s2">&quot;open-right&quot;</span><span class="p">,</span> <span class="s2">&quot;listen&quot;</span><span class="p">}]</span>
289290

290291
<div class="viewcode-block" id="PolicyModel.sample"><a class="viewcode-back" href="../../../problems/pomdp_problems.tiger.html#pomdp_problems.tiger.tiger_problem.PolicyModel.sample">[docs]</a> <span class="k">def</span> <span class="nf">sample</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">state</span><span class="p">):</span>
291292
<span class="k">return</span> <span class="n">random</span><span class="o">.</span><span class="n">sample</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">get_all_actions</span><span class="p">(),</span> <span class="mi">1</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span></div>

docs/html/_sources/changelog.rst.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Version 1.3.3 (07/25/2023)
1111
* Fix :code:`s -> sp` in :py:mod:`~pomdp_py.algorithms.value_iteration.ValueIteration` (`pomdp-py#20 <https://github.com/h2r/pomdp-py/issues/20>`_)
1212
* Allow updating rollout policy for :py:mod:`~pomdp_py.algorithms.po_uct.POUCT` and :py:mod:`~pomdp_py.algorithms.pomcp.POMCP`
1313
* Fix in :code:`setup.py` so that wheel builds properly.
14+
* Change set to list in :code:`pomdp_problems.tiger.tiger_problem.py` to tame error regarding :code:`random.sample` in Python 3.11.
1415
* Minor bug fixes and documentation.
1516

1617

docs/html/api/pomdp_py.utils.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ <h1>pomdp_py.utils package<a class="headerlink" href="#pomdp-py-utils-package" t
343343
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">pomdp_py.utils.interfaces</span></code></p></td>
344344
<td><p>Utilities for interfacing with external libraries</p></td>
345345
</tr>
346-
<tr class="row-even"><td><p><a class="reference internal" href="pomdp_py.utils.debugging.html#module-pomdp_py.utils.debugging" title="pomdp_py.utils.debugging"><code class="xref py py-obj docutils literal notranslate"><span class="pre">pomdp_py.utils.debugging</span></code></a></p></td>
346+
<tr class="row-even"><td><p><a class="reference internal" href="#module-pomdp_py.utils.debugging" title="pomdp_py.utils.debugging"><code class="xref py py-obj docutils literal notranslate"><span class="pre">pomdp_py.utils.debugging</span></code></a></p></td>
347347
<td><p>This module contains utility functions making it easier to debug POMDP planning.</p></td>
348348
</tr>
349349
<tr class="row-odd"><td><p><a class="reference internal" href="#module-pomdp_py.utils.templates" title="pomdp_py.utils.templates"><code class="xref py py-obj docutils literal notranslate"><span class="pre">pomdp_py.utils.templates</span></code></a></p></td>

docs/html/changelog.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ <h2>Version 1.3.3 (07/25/2023)<a class="headerlink" href="#version-1-3-3-07-25-2
172172
<li><p>Fix <code class="code docutils literal notranslate"><span class="pre">s</span> <span class="pre">-&gt;</span> <span class="pre">sp</span></code> in <a class="reference internal" href="api/pomdp_py.algorithms.html#pomdp_py.algorithms.value_iteration.ValueIteration" title="pomdp_py.algorithms.value_iteration.ValueIteration"><code class="xref py py-mod docutils literal notranslate"><span class="pre">ValueIteration</span></code></a> (<a class="reference external" href="https://github.com/h2r/pomdp-py/issues/20">pomdp-py#20</a>)</p></li>
173173
<li><p>Allow updating rollout policy for <a class="reference internal" href="api/pomdp_py.algorithms.html#pomdp_py.algorithms.po_uct.POUCT" title="pomdp_py.algorithms.po_uct.POUCT"><code class="xref py py-mod docutils literal notranslate"><span class="pre">POUCT</span></code></a> and <a class="reference internal" href="api/pomdp_py.algorithms.html#pomdp_py.algorithms.pomcp.POMCP" title="pomdp_py.algorithms.pomcp.POMCP"><code class="xref py py-mod docutils literal notranslate"><span class="pre">POMCP</span></code></a></p></li>
174174
<li><p>Fix in <code class="code docutils literal notranslate"><span class="pre">setup.py</span></code> so that wheel builds properly.</p></li>
175+
<li><p>Change set to list in <code class="code docutils literal notranslate"><span class="pre">pomdp_problems.tiger.tiger_problem.py</span></code> to tame error regarding <code class="code docutils literal notranslate"><span class="pre">random.sample</span></code> in Python 3.11.</p></li>
175176
<li><p>Minor bug fixes and documentation.</p></li>
176177
</ul>
177178
</section>
@@ -200,7 +201,7 @@ <h2>Version 1.3.0.1 (09/30/2021)<a class="headerlink" href="#version-1-3-0-1-09-
200201
<ul class="simple">
201202
<li><p>Removed dependency on <code class="code docutils literal notranslate"><span class="pre">pygraphviz</span></code>;</p></li>
202203
<li><p>Added <code class="code docutils literal notranslate"><span class="pre">utils.debugging.Treedebugger</span></code>, which makes it easier to inspect the search tree.
203-
See <a class="reference internal" href="api/pomdp_py.utils.debugging.html#module-pomdp_py.utils.debugging" title="pomdp_py.utils.debugging"><code class="xref py py-mod docutils literal notranslate"><span class="pre">debugging</span></code></a>.</p></li>
204+
See <a class="reference internal" href="api/pomdp_py.utils.html#module-pomdp_py.utils.debugging" title="pomdp_py.utils.debugging"><code class="xref py py-mod docutils literal notranslate"><span class="pre">debugging</span></code></a>.</p></li>
204205
<li><p>Added <code class="code docutils literal notranslate"><span class="pre">WeightedParticles</span></code>; Refactored <code class="code docutils literal notranslate"><span class="pre">Particles</span></code>. (<a class="reference internal" href="api/pomdp_py.representations.distribution.html#module-pomdp_py.representations.distribution.particles" title="pomdp_py.representations.distribution.particles"><code class="xref py py-mod docutils literal notranslate"><span class="pre">particles</span></code></a>)</p></li>
205206
<li><p>Optionally show progress bar while simulating in POUCT/POMCP.</p></li>
206207
<li><p>Added a CLI interface to simplify running example domains, e.g. <code class="code docutils literal notranslate"><span class="pre">python</span> <span class="pre">-m</span> <span class="pre">pomdp_py</span> <span class="pre">-r</span> <span class="pre">tiger</span></code> runs Tiger.</p></li>

docs/html/objects.inv

-9 Bytes
Binary file not shown.

docs/html/problems/pomdp_problems.tiger.cythonize.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ <h2>pomdp_problems.tiger.cythonize.tiger_problem.cpython-38-x86_64-linux-gnu mod
398398
<dd><p>Bases: <a class="reference internal" href="../api/pomdp_py.framework.html#pomdp_py.framework.basics.POMDP" title="pomdp_py.framework.basics.POMDP"><code class="xref py py-class docutils literal notranslate"><span class="pre">POMDP</span></code></a></p>
399399
<dl class="py attribute">
400400
<dt class="sig sig-object py" id="pomdp_problems.tiger.cythonize.tiger_problem.TigerProblem.ACTIONS">
401-
<span class="sig-name descname"><span class="pre">ACTIONS</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">{TigerAction(listen),</span> <span class="pre">TigerAction(open-left),</span> <span class="pre">TigerAction(open-right)}</span></em><a class="headerlink" href="#pomdp_problems.tiger.cythonize.tiger_problem.TigerProblem.ACTIONS" title="Permalink to this definition"></a></dt>
401+
<span class="sig-name descname"><span class="pre">ACTIONS</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">{TigerAction(open-left),</span> <span class="pre">TigerAction(open-right),</span> <span class="pre">TigerAction(listen)}</span></em><a class="headerlink" href="#pomdp_problems.tiger.cythonize.tiger_problem.TigerProblem.ACTIONS" title="Permalink to this definition"></a></dt>
402402
<dd></dd></dl>
403403

404404
<dl class="py attribute">

docs/html/problems/pomdp_problems.tiger.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ <h2>pomdp_problems.tiger.cythonize.cpython-38-x86_64-linux-gnu module<a class="h
456456
small, finite action space</p>
457457
<dl class="py attribute">
458458
<dt class="sig sig-object py" id="pomdp_problems.tiger.tiger_problem.PolicyModel.ACTIONS">
459-
<span class="sig-name descname"><span class="pre">ACTIONS</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">{TigerAction(open-right),</span> <span class="pre">TigerAction(open-left),</span> <span class="pre">TigerAction(listen)}</span></em><a class="headerlink" href="#pomdp_problems.tiger.tiger_problem.PolicyModel.ACTIONS" title="Permalink to this definition"></a></dt>
459+
<span class="sig-name descname"><span class="pre">ACTIONS</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">[TigerAction(open-left),</span> <span class="pre">TigerAction(open-right),</span> <span class="pre">TigerAction(listen)]</span></em><a class="headerlink" href="#pomdp_problems.tiger.tiger_problem.PolicyModel.ACTIONS" title="Permalink to this definition"></a></dt>
460460
<dd></dd></dl>
461461

462462
<dl class="py method">

docs/html/py-modindex.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ <h1>Python Module Index</h1>
581581
<tr class="cg-2">
582582
<td></td>
583583
<td>&#160;&#160;&#160;
584-
<a href="api/pomdp_py.utils.debugging.html#module-pomdp_py.utils.debugging"><code class="xref">pomdp_py.utils.debugging</code></a></td><td>
584+
<a href="api/pomdp_py.utils.html#module-pomdp_py.utils.debugging"><code class="xref">pomdp_py.utils.debugging</code></a></td><td>
585585
<em></em></td></tr>
586586
<tr class="cg-2">
587587
<td></td>

docs/html/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)