Skip to content

Betweenness centrality updates #1224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ If subgraph is not specified, the algorithm is computed on the entire graph by d
- `normalized: boolean (default=True)` ➡ If `True` the betweenness values are normalized by
`2/((n-1)(n-2))` for graphs, and `1/((n-1)(n-2))` for directed graphs where
`n` is the number of nodes.
- `threads: integer (default=number of concurrent threads supported by the
implementation)` ➡ The number of threads used to calculate betweenness
- `threads: integer (default=half of the system’s available hardware threads)` ➡ The number of threads used to calculate betweenness
centrality.


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ the procedure.
gain in modularity goes below this threshold, a final iteration is performed using the
`community_alg_threshold` value.
Valid values are between 0 and 1 (exclusive). This parameter's value should be higher than `community_alg_threshold`.
- `num_of_threads: integer (default=Half of the system's maximum thread count)` ➡ Specifies the number of threads used for parallel execution in the algorithm's parallelized parts.
- `num_of_threads: integer (default=half of the system’s available hardware threads)` ➡ Specifies the number of threads used for parallel execution in the algorithm's parallelized parts.
**Note**: OpenMP (omp) is used for parallelization, so the actual thread usage may depend on system settings and OpenMP configurations.

{<h4 className="custom-header"> Output: </h4>}
Expand Down