Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
8b1d33e9
Commit
8b1d33e9
authored
Sep 06, 2009
by
Tiago Peixoto
Browse files
Fix bug in community_structure() documentation
The value "random" should be "uncorrelated" instead.
parent
2d5dca6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/community/__init__.py
View file @
8b1d33e9
...
...
@@ -51,7 +51,7 @@ def community_structure(g, n_iter, n_spins, gamma=1.0, corr= "erdos",
gamma : float (optional, default: 1.0)
The :math:`\gamma` parameter of the hamiltonian.
corr : string (optional, default: "erdos")
Type of correlation to be assumed: Either "erdos", "
random
" and
Type of correlation to be assumed: Either "erdos", "
uncorrelated
" and
"correlated".
spins : PropertyMap
Vertex property maps to store the spin variables. If this is specified,
...
...
@@ -96,7 +96,7 @@ def community_structure(g, n_iter, n_spins, gamma=1.0, corr= "erdos",
:math:`\gamma`, it's possible also to find sub-communities.
It is possible to select three policies for choosing :math:`p_{ij}` and thus
choosing the null model: "r
an
do
m
" selects a Erdos-Reyni random graph,
choosing the null model: "
e
rdo
s
" selects a Erdos-Reyni random graph,
"uncorrelated" selects an arbitrary random graph with no vertex-vertex
correlations, and "correlated" selects a random graph with average
correlation taken from the graph itself. Optionally a weight property
...
...
Write
Preview
Supports
Markdown
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