Skip to content

Commit

Permalink
deploy: d26bd20
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithWittmann committed Oct 24, 2023
1 parent b698ffb commit dcd38f4
Show file tree
Hide file tree
Showing 9 changed files with 2,972 additions and 2,444 deletions.
123 changes: 5 additions & 118 deletions causy/algorithms.html

Large diffs are not rendered by default.

355 changes: 355 additions & 0 deletions causy/algorithms/pc.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions causy/exit_conditions.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h1 class="modulename">
</span><span id="L-2"><a href="#L-2"><span class="linenos"> 2</span></a>
</span><span id="L-3"><a href="#L-3"><span class="linenos"> 3</span></a>
</span><span id="L-4"><a href="#L-4"><span class="linenos"> 4</span></a><span class="k">class</span> <span class="nc">ExitOnNoActions</span><span class="p">(</span><span class="n">ExitConditionInterface</span><span class="p">):</span>
</span><span id="L-5"><a href="#L-5"><span class="linenos"> 5</span></a> <span class="k">def</span> <span class="nf">check</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">graph</span><span class="p">,</span> <span class="n">graph_model_instance_</span><span class="p">,</span> <span class="n">actions_taken</span><span class="p">,</span> <span class="n">iteration</span><span class="p">):</span>
</span><span id="L-5"><a href="#L-5"><span class="linenos"> 5</span></a> <span class="k">def</span> <span class="nf">check</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">graph</span><span class="p">,</span> <span class="n">graph_model_instance_</span><span class="p">,</span> <span class="n">actions_taken</span><span class="p">,</span> <span class="n">iteration</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">bool</span><span class="p">:</span>
</span><span id="L-6"><a href="#L-6"><span class="linenos"> 6</span></a><span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
</span><span id="L-7"><a href="#L-7"><span class="linenos"> 7</span></a><span class="sd"> Check if there are no actions taken in the last iteration and if so, break the loop</span>
</span><span id="L-8"><a href="#L-8"><span class="linenos"> 8</span></a><span class="sd"> If it is the first iteration, do not break the loop (we need to execute the first step)</span>
Expand Down Expand Up @@ -94,7 +94,7 @@ <h1 class="modulename">
</div>
<a class="headerlink" href="#ExitOnNoActions"></a>
<div class="pdoc-code codehilite"><pre><span></span><span id="ExitOnNoActions-5"><a href="#ExitOnNoActions-5"><span class="linenos"> 5</span></a><span class="k">class</span> <span class="nc">ExitOnNoActions</span><span class="p">(</span><span class="n">ExitConditionInterface</span><span class="p">):</span>
</span><span id="ExitOnNoActions-6"><a href="#ExitOnNoActions-6"><span class="linenos"> 6</span></a> <span class="k">def</span> <span class="nf">check</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">graph</span><span class="p">,</span> <span class="n">graph_model_instance_</span><span class="p">,</span> <span class="n">actions_taken</span><span class="p">,</span> <span class="n">iteration</span><span class="p">):</span>
</span><span id="ExitOnNoActions-6"><a href="#ExitOnNoActions-6"><span class="linenos"> 6</span></a> <span class="k">def</span> <span class="nf">check</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">graph</span><span class="p">,</span> <span class="n">graph_model_instance_</span><span class="p">,</span> <span class="n">actions_taken</span><span class="p">,</span> <span class="n">iteration</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">bool</span><span class="p">:</span>
</span><span id="ExitOnNoActions-7"><a href="#ExitOnNoActions-7"><span class="linenos"> 7</span></a><span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
</span><span id="ExitOnNoActions-8"><a href="#ExitOnNoActions-8"><span class="linenos"> 8</span></a><span class="sd"> Check if there are no actions taken in the last iteration and if so, break the loop</span>
</span><span id="ExitOnNoActions-9"><a href="#ExitOnNoActions-9"><span class="linenos"> 9</span></a><span class="sd"> If it is the first iteration, do not break the loop (we need to execute the first step)</span>
Expand All @@ -121,13 +121,13 @@ <h1 class="modulename">
<div class="attr function">

<span class="def">def</span>
<span class="name">check</span><span class="signature pdoc-code condensed">(<span class="param"><span class="bp">self</span>, </span><span class="param"><span class="n">graph</span>, </span><span class="param"><span class="n">graph_model_instance_</span>, </span><span class="param"><span class="n">actions_taken</span>, </span><span class="param"><span class="n">iteration</span></span><span class="return-annotation">):</span></span>
<span class="name">check</span><span class="signature pdoc-code condensed">(<span class="param"><span class="bp">self</span>, </span><span class="param"><span class="n">graph</span>, </span><span class="param"><span class="n">graph_model_instance_</span>, </span><span class="param"><span class="n">actions_taken</span>, </span><span class="param"><span class="n">iteration</span></span><span class="return-annotation">) -> <span class="nb">bool</span>:</span></span>

<label class="view-source-button" for="ExitOnNoActions.check-view-source"><span>View Source</span></label>

</div>
<a class="headerlink" href="#ExitOnNoActions.check"></a>
<div class="pdoc-code codehilite"><pre><span></span><span id="ExitOnNoActions.check-6"><a href="#ExitOnNoActions.check-6"><span class="linenos"> 6</span></a> <span class="k">def</span> <span class="nf">check</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">graph</span><span class="p">,</span> <span class="n">graph_model_instance_</span><span class="p">,</span> <span class="n">actions_taken</span><span class="p">,</span> <span class="n">iteration</span><span class="p">):</span>
<div class="pdoc-code codehilite"><pre><span></span><span id="ExitOnNoActions.check-6"><a href="#ExitOnNoActions.check-6"><span class="linenos"> 6</span></a> <span class="k">def</span> <span class="nf">check</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">graph</span><span class="p">,</span> <span class="n">graph_model_instance_</span><span class="p">,</span> <span class="n">actions_taken</span><span class="p">,</span> <span class="n">iteration</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">bool</span><span class="p">:</span>
</span><span id="ExitOnNoActions.check-7"><a href="#ExitOnNoActions.check-7"><span class="linenos"> 7</span></a><span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
</span><span id="ExitOnNoActions.check-8"><a href="#ExitOnNoActions.check-8"><span class="linenos"> 8</span></a><span class="sd"> Check if there are no actions taken in the last iteration and if so, break the loop</span>
</span><span id="ExitOnNoActions.check-9"><a href="#ExitOnNoActions.check-9"><span class="linenos"> 9</span></a><span class="sd"> If it is the first iteration, do not break the loop (we need to execute the first step)</span>
Expand Down
Loading

0 comments on commit dcd38f4

Please sign in to comment.