Commit 28958e3
authored
Small optimization to
* Small optimization
Calculating cliques and plex overlap is one of the slowest steps in `dpp_single`. This optimization calculates overlap only for those cliques and plexes that are not already merged into a single community.
* Bugfix removing unnecessary duplicate calls
The `dpp_single` function was called twice per iteration, rather than once due to a typo.dpp_single (#5)1 parent f850ee4 commit 28958e3
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
| |||
0 commit comments