Skip to content

Commit

Permalink
Deploying to gh-pages from @ 8b10543 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
clement-bonnet committed Mar 11, 2024
1 parent 1c89e7d commit 596d491
Show file tree
Hide file tree
Showing 52 changed files with 149 additions and 100 deletions.
2 changes: 1 addition & 1 deletion api/env/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2045,7 +2045,7 @@ <h3 id="jumanji.env.Environment.__exit__" class="doc doc-heading">
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/bin_pack/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2098,7 +2098,7 @@ <h3 id="jumanji.environments.packing.bin_pack.env.BinPack.close" class="doc doc-
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/cleaner/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2131,7 +2131,7 @@ <h3 id="jumanji.environments.routing.cleaner.env.Cleaner.close" class="doc doc-h
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/connector/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1922,7 +1922,7 @@ <h3 id="jumanji.environments.routing.connector.env.Connector.action_spec" class=
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/cvrp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,7 @@ <h3 id="jumanji.environments.routing.cvrp.env.CVRP.action_spec" class="doc doc-h
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/game_2048/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1916,7 +1916,7 @@ <h3 id="jumanji.environments.logic.game_2048.env.Game2048.step" class="doc doc-h
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/graph_coloring/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1913,7 +1913,7 @@ <h3 id="jumanji.environments.logic.graph_coloring.env.GraphColoring.action_spec"
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/job_shop/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1943,7 +1943,7 @@ <h3 id="jumanji.environments.packing.job_shop.env.JobShop.action_spec" class="do
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/knapsack/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1936,7 +1936,7 @@ <h3 id="jumanji.environments.packing.knapsack.env.Knapsack.action_spec" class="d
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/macvrp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1812,7 +1812,7 @@ <h3 id="jumanji.environments.routing.multi_cvrp.env.MultiCVRP.action_spec" class
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/maze/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1934,7 +1934,7 @@ <h3 id="jumanji.environments.routing.maze.env.Maze.step" class="doc doc-heading"
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/minesweeper/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1947,7 +1947,7 @@ <h3 id="jumanji.environments.logic.minesweeper.env.Minesweeper.action_spec" clas
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/mmst/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2030,7 +2030,7 @@ <h3 id="jumanji.environments.routing.mmst.env.MMST.render" class="doc doc-headin
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/pac_man/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2008,7 +2008,7 @@ <h3 id="jumanji.environments.routing.pac_man.env.PacMan.render" class="doc doc-h
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/rubiks_cube/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ <h3 id="jumanji.environments.logic.rubiks_cube.env.RubiksCube.action_spec" class
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/rware/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1872,7 +1872,7 @@ <h3 id="jumanji.environments.routing.robot_warehouse.env.RobotWarehouse.action_s
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/snake/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1950,7 +1950,7 @@ <h3 id="jumanji.environments.routing.snake.env.Snake.action_spec" class="doc doc
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/sokoban/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2006,7 +2006,7 @@ <h3 id="jumanji.environments.routing.sokoban.env.Sokoban.render" class="doc doc-
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/sudoku/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1884,7 +1884,7 @@ <h3 id="jumanji.environments.logic.sudoku.env.Sudoku.action_spec" class="doc doc
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/tetris/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1924,7 +1924,7 @@ <h3 id="jumanji.environments.packing.tetris.env.Tetris.action_spec" class="doc d
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/environments/tsp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1942,7 +1942,7 @@ <h3 id="jumanji.environments.routing.tsp.env.TSP.action_spec" class="doc doc-hea
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion api/types/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2517,7 +2517,7 @@ <h3 id="jumanji.types.get_valid_dtype" class="doc doc-heading">
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
57 changes: 53 additions & 4 deletions api/wrappers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2303,7 +2303,7 @@ <h3 id="jumanji.wrappers.MultiToSingleWrapper" class="doc doc-heading">


<h4 id="jumanji.wrappers.MultiToSingleWrapper.__init__" class="doc doc-heading">
<code class="highlight language-python"><span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">env</span><span class="p">:</span> <span class="n">Environment</span><span class="p">,</span> <span class="n">reward_aggregator</span><span class="p">:</span> <span class="n">Callable</span> <span class="o">=</span> <span class="o">&lt;</span><span class="n">function</span> <span class="nb">sum</span> <span class="n">at</span> <span class="mh">0x7f2d8d729790</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">discount_aggregator</span><span class="p">:</span> <span class="n">Callable</span> <span class="o">=</span> <span class="o">&lt;</span><span class="n">function</span> <span class="n">amax</span> <span class="n">at</span> <span class="mh">0x7f2d8d729f70</span><span class="o">&gt;</span><span class="p">)</span></code>
<code class="highlight language-python"><span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">env</span><span class="p">:</span> <span class="n">Environment</span><span class="p">,</span> <span class="n">reward_aggregator</span><span class="p">:</span> <span class="n">Callable</span> <span class="o">=</span> <span class="o">&lt;</span><span class="n">function</span> <span class="nb">sum</span> <span class="n">at</span> <span class="mh">0x7fef1c65f790</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">discount_aggregator</span><span class="p">:</span> <span class="n">Callable</span> <span class="o">=</span> <span class="o">&lt;</span><span class="n">function</span> <span class="n">amax</span> <span class="n">at</span> <span class="mh">0x7fef1c65ff70</span><span class="o">&gt;</span><span class="p">)</span></code>

<span class="doc doc-properties">
<small class="doc doc-property doc-property-special"><code>special</code></small>
Expand Down Expand Up @@ -2337,14 +2337,14 @@ <h4 id="jumanji.wrappers.MultiToSingleWrapper.__init__" class="doc doc-heading">
<td><code>Callable</code></td>
<td><p>a function to aggregate all agents rewards into a single scalar
value, e.g. sum.</p></td>
<td><code>&lt;function sum at 0x7f2d8d729790&gt;</code></td>
<td><code>&lt;function sum at 0x7fef1c65f790&gt;</code></td>
</tr>
<tr>
<td><code>discount_aggregator</code></td>
<td><code>Callable</code></td>
<td><p>a function to aggregate all agents discounts into a single
scalar value, e.g. max.</p></td>
<td><code>&lt;function amax at 0x7f2d8d729f70&gt;</code></td>
<td><code>&lt;function amax at 0x7fef1c65ff70&gt;</code></td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -2730,6 +2730,55 @@ <h3 id="jumanji.wrappers.AutoResetWrapper" class="doc doc-heading">



<div class="doc doc-object doc-method">



<h4 id="jumanji.wrappers.AutoResetWrapper.__init__" class="doc doc-heading">
<code class="highlight language-python"><span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">env</span><span class="p">:</span> <span class="n">Environment</span><span class="p">,</span> <span class="n">next_obs_in_extras</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">False</span><span class="p">)</span></code>

<span class="doc doc-properties">
<small class="doc doc-property doc-property-special"><code>special</code></small>
</span>

<a href="#jumanji.wrappers.AutoResetWrapper.__init__" class="headerlink" title="Permanent link">#</a></h4>

<div class="doc doc-contents ">

<p>Wrap an environment to automatically reset it when the episode terminates.</p>

<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>env</code></td>
<td><code>Environment</code></td>
<td><p>the environment to wrap.</p></td>
<td><em>required</em></td>
</tr>
<tr>
<td><code>next_obs_in_extras</code></td>
<td><code>bool</code></td>
<td><p>whether to store the next observation in the extras of the
terminal timestep. This is useful for e.g. truncation.</p></td>
<td><code>False</code></td>
</tr>
</tbody>
</table>
</div>

</div>



<div class="doc doc-object doc-method">


Expand Down Expand Up @@ -3209,7 +3258,7 @@ <h3 id="jumanji.wrappers.jumanji_to_gym_obs" class="doc doc-heading">
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion environments/bin_pack/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1621,7 +1621,7 @@ <h2 id="registered-versions">Registered Versions 📖<a class="headerlink" href=
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion environments/cleaner/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ <h2 id="registered-versions">Registered Versions 📖<a class="headerlink" href=
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion environments/connector/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,7 @@ <h2 id="registered-versions">Registered Versions 📖<a class="headerlink" href=
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion environments/cvrp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1632,7 +1632,7 @@ <h2 id="registered-versions">Registered Versions 📖<a class="headerlink" href=
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion environments/game_2048/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1628,7 +1628,7 @@ <h2 id="registered-versions">Registered Versions 📖<a class="headerlink" href=
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion environments/graph_coloring/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1631,7 +1631,7 @@ <h2 id="registered-versions">Registered Versions 📖<a class="headerlink" href=
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion environments/job_shop/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1691,7 +1691,7 @@ <h2 id="registered-versions">Registered Versions 📖<a class="headerlink" href=
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion environments/knapsack/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1619,7 +1619,7 @@ <h2 id="registered-versions">Registered Versions 📖<a class="headerlink" href=
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion environments/maze/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ <h2 id="registered-versions">Registered Versions 📖<a class="headerlink" href=
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion environments/minesweeper/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ <h2 id="registered-versions">Registered Versions 📖<a class="headerlink" href=
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion environments/mmst/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1637,7 +1637,7 @@ <h2 id="registered-versions">Registered Versions 📖<a class="headerlink" href=
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
2 changes: 1 addition & 1 deletion environments/multi_cvrp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ <h2 id="registered-versions">Registered Versions 📖<a class="headerlink" href=
<small>

Last update:
2024-03-08
2024-03-11

</small>
</div>
Expand Down
Loading

0 comments on commit 596d491

Please sign in to comment.