summaryrefslogtreecommitdiff
path: root/_modules/networkx/generators/community.html
diff options
context:
space:
mode:
Diffstat (limited to '_modules/networkx/generators/community.html')
-rw-r--r--_modules/networkx/generators/community.html38
1 files changed, 25 insertions, 13 deletions
diff --git a/_modules/networkx/generators/community.html b/_modules/networkx/generators/community.html
index f85e1e9c..c389d56d 100644
--- a/_modules/networkx/generators/community.html
+++ b/_modules/networkx/generators/community.html
@@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>networkx.generators.community &#8212; NetworkX 3.0rc2.dev0 documentation</title>
+ <title>networkx.generators.community &#8212; NetworkX 3.1rc1.dev0 documentation</title>
@@ -46,12 +46,18 @@
<script>DOCUMENTATION_OPTIONS.pagename = '_modules/networkx/generators/community';</script>
<link rel="canonical" href="https://networkx.org/documentation/stable/_modules/networkx/generators/community.html" />
<link rel="search" type="application/opensearchdescription+xml"
- title="Search within NetworkX 3.0rc2.dev0 documentation"
+ title="Search within NetworkX 3.1rc1.dev0 documentation"
href="../../../_static/opensearch.xml"/>
<link rel="index" title="Index" href="../../../genindex.html" />
<link rel="search" title="Search" href="../../../search.html" />
+<script
+ defer
+ data-domain="networkx.org"
+ src="https://views.scientific-python.org/js/script.js"
+></script>
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="docsearch:language" content="en">
+ <meta name="docsearch:language" content="en">
</head>
@@ -93,6 +99,12 @@
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
</form>
</div>
+ </div><div class="bd-header-announcement container-fluid" id="header-announcement">
+
+
+
+<div class="bd-header-announcement__content"><p><a href='https://forms.gle/NUGcBxyjx5onbAgc8'> NetworkX User Survey 2023</a> 🎉 Fill out the survey to tell us about your ideas, complaints, praises of NetworkX!</p></div>
+
</div>
@@ -244,7 +256,7 @@
id="dLabelMore"
data-toggle="dropdown"
>
- v3.0rc2.dev0
+ v3.1rc1.dev0
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dLabelMore">
@@ -407,7 +419,7 @@
id="dLabelMore"
data-toggle="dropdown"
>
- v3.0rc2.dev0
+ v3.1rc1.dev0
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dLabelMore">
@@ -595,7 +607,7 @@
<span class="sd"> k : int</span>
<span class="sd"> Size of cliques</span>
<span class="sd"> p : float</span>
-<span class="sd"> Probabilty of rewiring each edge.</span>
+<span class="sd"> Probability of rewiring each edge.</span>
<span class="sd"> seed : integer, random_state, or None (default)</span>
<span class="sd"> Indicator of random number generation state.</span>
<span class="sd"> See :ref:`Randomness&lt;randomness&gt;`.</span>
@@ -622,7 +634,7 @@
<span class="sd"> &quot;&quot;&quot;</span>
<span class="n">G</span> <span class="o">=</span> <span class="n">nx</span><span class="o">.</span><span class="n">caveman_graph</span><span class="p">(</span><span class="n">l</span><span class="p">,</span> <span class="n">k</span><span class="p">)</span>
<span class="n">nodes</span> <span class="o">=</span> <span class="nb">list</span><span class="p">(</span><span class="n">G</span><span class="p">)</span>
- <span class="k">for</span> <span class="p">(</span><span class="n">u</span><span class="p">,</span> <span class="n">v</span><span class="p">)</span> <span class="ow">in</span> <span class="n">G</span><span class="o">.</span><span class="n">edges</span><span class="p">():</span>
+ <span class="k">for</span> <span class="n">u</span><span class="p">,</span> <span class="n">v</span> <span class="ow">in</span> <span class="n">G</span><span class="o">.</span><span class="n">edges</span><span class="p">():</span>
<span class="k">if</span> <span class="n">seed</span><span class="o">.</span><span class="n">random</span><span class="p">()</span> <span class="o">&lt;</span> <span class="n">p</span><span class="p">:</span> <span class="c1"># rewire the edge</span>
<span class="n">x</span> <span class="o">=</span> <span class="n">seed</span><span class="o">.</span><span class="n">choice</span><span class="p">(</span><span class="n">nodes</span><span class="p">)</span>
<span class="k">if</span> <span class="n">G</span><span class="o">.</span><span class="n">has_edge</span><span class="p">(</span><span class="n">u</span><span class="p">,</span> <span class="n">x</span><span class="p">):</span>
@@ -783,7 +795,7 @@
<span class="sd"> v : float</span>
<span class="sd"> Shape parameter. The variance of cluster size distribution is s/v.</span>
<span class="sd"> p_in : float</span>
-<span class="sd"> Probabilty of intra cluster connection.</span>
+<span class="sd"> Probability of intra cluster connection.</span>
<span class="sd"> p_out : float</span>
<span class="sd"> Probability of inter cluster connection.</span>
<span class="sd"> directed : boolean, optional default=False</span>
@@ -1536,11 +1548,11 @@
<div class="toc-item">
-<div id="searchbox"></div>
-</div>
-
-<div class="toc-item">
-
+<form class="bd-search d-flex align-items-center" action="../../../search.html" method="get">
+ <i class="fa-solid fa-magnifying-glass"></i>
+ <input type="search" class="form-control" name="q" id="search-input" placeholder="Search the docs ..." aria-label="Search the docs ..." autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">
+ <span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
+</form>
</div>
<div class="toc-item">