Skip to content

Keep VoteRank ability nonnegative (issue #3826)#3970

Merged
dschult merged 1 commit intonetworkx:masterfrom
manasjoshi14:bugfix-for-issue-3826
May 28, 2020
Merged

Keep VoteRank ability nonnegative (issue #3826)#3970
dschult merged 1 commit intonetworkx:masterfrom
manasjoshi14:bugfix-for-issue-3826

Conversation

@manasjoshi14
Copy link
Copy Markdown
Contributor

As mentioned in Issue #3826, in the current implementation of VoteRank, the voting ability of a few nodes could become negative.
This was because step 4 of the reference paper was wrongly implemented. Step 4 states that the voting ability is updated only if the new value doesn't become negative. This is fixed in the pull request.

@dschult dschult added this to the networkx-2.5 milestone May 23, 2020
@dschult dschult changed the title Resolve #3826 Correct VoteRank Algorithm to align with reference paper and avoid negative voting ability May 28, 2020
@dschult dschult merged commit bf49ddd into networkx:master May 28, 2020
@dschult dschult changed the title Correct VoteRank Algorithm to align with reference paper and avoid negative voting ability Keep VoteRank ability nonnegative (issue #3826) May 31, 2020
kiryph pushed a commit to kiryph/networkx that referenced this pull request Jul 21, 2020
MridulS pushed a commit to MridulS/networkx that referenced this pull request Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants