Skip to content

Commit

Permalink
Deploying to gh-pages from @ e24b35b 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
eleurent committed Sep 30, 2024
1 parent 8d9f4c5 commit 218466f
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 28 deletions.
Binary file modified main/_images/index_1_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/index_2_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/index_2_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/index_2_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/index_3_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/quickstart_0_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/quickstart_2_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions main/_modules/highway_env/envs/merge_env/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,6 @@ <h1>Source code for highway_env.envs.merge_env</h1><div class="highlight"><pre>

<span class="k">def</span> <span class="nf">_is_terminated</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">bool</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;The episode is over when a collision occurs or when the access ramp has been passed.&quot;&quot;&quot;</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;crash&quot;</span> <span class="o">+</span> <span class="nb">str</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">vehicle</span><span class="o">.</span><span class="n">crashed</span><span class="p">))</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;over&quot;</span> <span class="o">+</span> <span class="nb">str</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">vehicle</span><span class="o">.</span><span class="n">position</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">&gt;</span> <span class="mi">370</span><span class="p">))</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">vehicle</span><span class="o">.</span><span class="n">crashed</span> <span class="ow">or</span> <span class="nb">bool</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">vehicle</span><span class="o">.</span><span class="n">position</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">&gt;</span> <span class="mi">370</span><span class="p">)</span>

<span class="k">def</span> <span class="nf">_is_truncated</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">bool</span><span class="p">:</span>
Expand Down
35 changes: 25 additions & 10 deletions main/_static/versioning/versioning_menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,30 @@
});

const sortVersions = (a, b) => {
// Alpha versions
if (a.includes("a")) return 1;
if (b.includes("a")) return -1;
if (a.replace("v", "") > b.replace("v", ""))
return -1
else if (a.replace("v", "") < b.replace("v", ""))
return 1
else
return 0
const normVersionNames = (a) => {
return a.replace("v", "").split("");
};
const innerA = normVersionNames(a);
const innerB = normVersionNames(b);

while (innerA.length && innerB.length) {
const charA = innerA.shift();
const charB = innerB.shift();

if (charA === charB) continue;
else if (charA === ".") return 1;
else if (charB === ".") return -1;
else if (charA.match(/[0-9]/) && charB.match(/[0-9]/)) {
return Number(charB) - Number(charA);
} else {
if (charA < charB) return 1;
else if (charA > charB) return -1;
else return 0;
}
}
if (innerA < innerB) return 1;
else if (innerA > innerB) return -1;
else return 0;
}

if ((githubUser !== null && githubUser !== "") || (repo !== null && repo !== "")) {
Expand Down Expand Up @@ -204,4 +219,4 @@
console.error("Invalid versioning configuration");
}
</script>
</div>
</div>
10 changes: 5 additions & 5 deletions main/multi_agent/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,11 @@ <h2>Change the observation space<a class="headerlink" href="#change-the-observat
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-none notranslate"><div class="highlight"><pre><span></span>(array([[ 1. , 0.9016849 , 0.5 , 0.3125 , 0. ],
[ 1. , 0.09516066, 0.25 , -0.03344491, 0. ],
[ 1. , 0.197695 , -0.25 , -0.03266804, 0. ],
[ 1. , 0.29426375, 0.25 , -0.03702118, 0. ],
[ 1. , 0.40796155, 0.25 , -0.0186532 , 0. ]],
<div class="output stream highlight-none notranslate"><div class="highlight"><pre><span></span>(array([[ 1. , 0.87670076, 0.75 , 0.3125 , 0. ],
[ 1. , 0.10654018, -0.5 , -0.01294505, 0. ],
[ 1. , 0.21899536, -0.5 , -0.01320663, 0. ],
[ 1. , 0.32241485, 0. , -0.0252199 , 0. ],
[ 1. , 0.4260925 , -0.5 , -0.04414856, 0. ]],
dtype=float32),)
</pre></div>
</div>
Expand Down
20 changes: 10 additions & 10 deletions main/observations/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -558,25 +558,25 @@ <h3>Example configuration<a class="headerlink" href="#example-configuration" tit
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-none notranslate"><div class="highlight"><pre><span></span>[[ 1. 1. 0.12 1. 0. 1.
<div class="output stream highlight-none notranslate"><div class="highlight"><pre><span></span>[[ 1. 1. 0. 1. 0. 1.
0. ]
[ 1. 0.19569296 -0.04 -0.17969155 0. 1.
[ 1. 0.22570229 0. -0.12191401 0. 1.
0. ]
[ 1. 0.39399296 -0.08 -0.1294806 0. 1.
[ 1. 0.442366 0.08 -0.14286037 0. 1.
0. ]
[ 1. 0.6135051 -0.12 -0.19232078 0. 1.
[ 1. 0.65986717 0.08 -0.11731137 0. 1.
0. ]
[ 1. 0.8296915 -0.08 -0.18101032 0. 1.
[ 1. 0.86453724 0.08 -0.14806733 0. 1.
0. ]
[ 1. 1. -0.04 -0.1015892 0. 1.
[ 1. 1. 0. -0.14502048 0. 1.
0. ]
[ 1. 1. -0.08 -0.12010446 0. 1.
[ 1. 1. 0.12 -0.12930141 0. 1.
0. ]
[ 1. 1. -0.12 -0.12274759 0. 1.
[ 1. 1. 0.08 -0.07451699 0. 1.
0. ]
[ 1. 1. -0.12 -0.15660168 0. 1.
[ 1. 1. 0. -0.11601333 0. 1.
0. ]
[ 1. 1. 0. -0.19697821 0. 1.
[ 1. 1. 0.04 -0.08796179 0. 1.
0. ]
[ 0. 0. 0. 0. 0. 0.
0. ]
Expand Down
2 changes: 1 addition & 1 deletion main/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 218466f

Please sign in to comment.