Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tiago Peixoto
graph-tool
Commits
ffc3eaae
Commit
ffc3eaae
authored
Apr 23, 2013
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trivial typo in random_graph() docstring
parent
ce741734
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/graph_tool/generation/__init__.py
src/graph_tool/generation/__init__.py
+3
-3
No files found.
src/graph_tool/generation/__init__.py
View file @
ffc3eaae
...
...
@@ -107,9 +107,9 @@ def random_graph(N, deg_sampler, deg_corr=None, cache_probs=True, directed=True,
self_loops : bool (optional, default: ``False``)
If ``True``, self-loops are allowed.
blockmodel : list or :class:`~numpy.ndarray` or function (optional, default: ``None``)
If supplied, the graph will be sampled from a
blockmodel ensemble. If
the value is a list or a :class:`~numpy.ndarray`, it must
have
``len(block
_
model) == N``, and the values will define to which block
If supplied, the graph will be sampled from a
stochastic blockmodel
ensemble. If
the value is a list or a :class:`~numpy.ndarray`, it must
have
``len(blockmodel) == N``, and the values will define to which block
each vertex belongs.
If this value is a function, it will be used to sample the block
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment