Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
graph-tool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
40
Issues
40
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiago Peixoto
graph-tool
Commits
26921f2e
Commit
26921f2e
authored
Feb 21, 2010
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small doc typos and improvements
parent
aaf56142
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
src/graph_tool/centrality/__init__.py
src/graph_tool/centrality/__init__.py
+5
-6
src/graph_tool/stats/__init__.py
src/graph_tool/stats/__init__.py
+2
-2
No files found.
src/graph_tool/centrality/__init__.py
View file @
26921f2e
...
...
@@ -307,7 +307,7 @@ def eigentrust(g, trust_map, vprop=None, norm=False, epslon=1e-6, max_iter=0,
Graph to be used.
trust_map : :class:`~graph_tool.PropertyMap`
Edge property map with the values of trust associated with each
edge. The values must
not
lie in the range [0,1].
edge. The values must lie in the range [0,1].
vprop : PropertyMap, optional (default: None)
Vertex property map where the values of eigentrust must be stored.
norm : bool, optional (default: false)
...
...
@@ -419,12 +419,11 @@ def absolute_trust(g, trust_map, source, target = None, vprop=None):
Edge property map with the values of trust associated with each
edge. The values must lie in the range [0,1].
source : Vertex
A vertex which is used the as the source for gathering trust values
.
Source vertex. All trust values are computed relative to this vertex
.
target : Vertex (optional, default: None)
A vertex which is used the as the only target for which the trust value
will be calculated. If left unspecified, the trust values for all
targets are computed.
vprop : :class:`~graph_tool.PropertyMap`, optional (default: None)
The only target for which the trust value will be calculated. If left
unspecified, the trust values for all targets are computed.
vprop : :class:`~graph_tool.PropertyMap` (optional, default: None)
A vertex property map where the values of trust for each source
must be stored.
...
...
src/graph_tool/stats/__init__.py
View file @
26921f2e
...
...
@@ -278,8 +278,8 @@ def label_parallel_edges(g, eprop=None):
return
eprop
def
remove_parallel_edges
(
g
):
"""Remove all parallel edges from the graph. Only on
edge from each parallel
edge set is left."""
"""Remove all parallel edges from the graph. Only on
e edge from each
parallel
edge set is left."""
eprop
=
label_parallel_edges
(
g
)
remove_labeled_edges
(
g
,
eprop
)
...
...
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