Skip to content

Commit

Permalink
Merge pull request #316 from jGaboardi/split_arcs_update
Browse files Browse the repository at this point in the history
Split arcs update
  • Loading branch information
jGaboardi committed Oct 7, 2019
2 parents b5b6353 + 89f2e9c commit 724326a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 10 deletions.
1 change: 1 addition & 0 deletions docs/.nojekyll
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

3 changes: 1 addition & 2 deletions docs/_modules/spaghetti/network.html
Original file line number Diff line number Diff line change
Expand Up @@ -2226,8 +2226,7 @@ <h1>Source code for spaghetti.network</h1><div class="highlight"><pre>
<span class="p">)</span></div>

<div class="viewcode-block" id="Network.split_arcs"><a class="viewcode-back" href="../../generated/spaghetti.Network.split_arcs.html#spaghetti.Network.split_arcs">[docs]</a> <span class="k">def</span> <span class="nf">split_arcs</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">distance</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;Split all of the arcs in the network at either a</span>
<span class="sd"> fixed distance or a fixed number of arcs.</span>
<span class="sd">&quot;&quot;&quot;Split all of the arcs in the network at a fixed distance.</span>
<span class="sd"> </span>
<span class="sd"> Parameters</span>
<span class="sd"> -----------</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
<td>Compute the interpattern nearest neighbor distances or the intrapattern nearest neighbor distances between a source pattern and a destination pattern.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="generated/spaghetti.Network.split_arcs.html#spaghetti.Network.split_arcs" title="spaghetti.Network.split_arcs"><code class="xref py py-obj docutils literal notranslate"><span class="pre">spaghetti.Network.split_arcs</span></code></a>(distance)</td>
<td>Split all of the arcs in the network at either a</td>
<td>Split all of the arcs in the network at a fixed distance.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="generated/spaghetti.Network.savenetwork.html#spaghetti.Network.savenetwork" title="spaghetti.Network.savenetwork"><code class="xref py py-obj docutils literal notranslate"><span class="pre">spaghetti.Network.savenetwork</span></code></a>(filename)</td>
<td>Save a network to disk as a binary file.</td>
Expand Down
5 changes: 1 addition & 4 deletions docs/generated/spaghetti.Network.split_arcs.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,7 @@ <h1>spaghetti.Network.split_arcs<a class="headerlink" href="#spaghetti-network-s
<dl class="method">
<dt id="spaghetti.Network.split_arcs">
<code class="descclassname">Network.</code><code class="descname">split_arcs</code><span class="sig-paren">(</span><em>distance</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/spaghetti/network.html#Network.split_arcs"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#spaghetti.Network.split_arcs" title="Permalink to this definition"></a></dt>
<dd><dl class="docutils">
<dt>Split all of the arcs in the network at either a</dt>
<dd>fixed distance or a fixed number of arcs.</dd>
</dl>
<dd><p>Split all of the arcs in the network at a fixed distance.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions spaghetti/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -2110,8 +2110,7 @@ def NetworkK(
)

def split_arcs(self, distance):
"""Split all of the arcs in the network at either a
fixed distance or a fixed number of arcs.
"""Split all of the arcs in the network at a fixed distance.
Parameters
-----------
Expand Down

0 comments on commit 724326a

Please sign in to comment.