Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
1fe7d70
First look at parallel implementation
IvanIsCoding Feb 26, 2025
28a5a20
Add parallel threshold parameter
IvanIsCoding Feb 27, 2025
c07ecdc
Add parllel_threshold to Python arguments
IvanIsCoding Feb 27, 2025
82a611b
Make weighted closeness centrality also parallel
IvanIsCoding Feb 27, 2025
64f5d6a
Add new argument to type stubs
IvanIsCoding Feb 27, 2025
6024c01
Document parameters for newman's type specific functions
IvanIsCoding Feb 27, 2025
96f99bf
Add parallel tests to Python
IvanIsCoding Feb 27, 2025
6d48953
Add release notes for the change
IvanIsCoding Feb 28, 2025
313ac64
Boost coverage of Newman Weighted Centrality via unweighted test case
IvanIsCoding Feb 28, 2025
0ff1595
Simplify implementation with .collect()
IvanIsCoding Mar 19, 2025
f46b4e7
Add parallel_threshold to docstring
IvanIsCoding Mar 19, 2025
d683bd0
Merge branch 'main' into parallel-centrality
IvanIsCoding Mar 19, 2025
26e735f
Merge branch 'main' into parallel-centrality
IvanIsCoding Mar 19, 2025
35fadf5
Merge branch 'main' into parallel-centrality
IvanIsCoding Apr 3, 2025
525e48e
Merge remote-tracking branch 'upstream/main' into parallel-centrality
IvanIsCoding Apr 5, 2025
800549b
Fix cargo clippy warnings
IvanIsCoding Apr 5, 2025
31333ad
Merge branch 'main' into parallel-centrality
IvanIsCoding Apr 5, 2025
39ac17c
Merge branch 'main' into parallel-centrality
IvanIsCoding Apr 7, 2025
bea9129
Merge branch 'main' into parallel-centrality
IvanIsCoding Apr 7, 2025
7ce7c80
Document RAYON_NUM_THREADS
IvanIsCoding Apr 8, 2025
47c3970
Move reno section to upgrade
IvanIsCoding Apr 8, 2025
346662f
Merge remote-tracking branch 'upstream/main' into parallel-centrality
IvanIsCoding Apr 8, 2025
b4ec302
Add rayon num threads detail to Python
IvanIsCoding Apr 8, 2025
4db280e
Update Python docstring as well
IvanIsCoding Apr 8, 2025
d8e4c45
Merge branch 'main' into parallel-centrality
IvanIsCoding Apr 8, 2025
2442e75
Try to fix indentation
IvanIsCoding Apr 9, 2025
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
@@ -0,0 +1,10 @@
---
features:
- |
The :func:`~.closeness_centrality` method is now parallel for better performance.
Comment thread
IvanIsCoding marked this conversation as resolved.
The parallelism is toggled via the new `parallel_threshold` optional parameter.
other:
Comment thread
IvanIsCoding marked this conversation as resolved.
Outdated
- |
The `closeness_centrality` function in `rustworkx-core`
now requires `parallel_threshold` parameter which controls when the
algorithm switches to parallel execution. This is a breaking change.
Loading