Warren D. Smith implemented it via a more general method in his CleanOptPRVote.c code, as referenced in my README.
His code is 100 times faster than mine, and uses a nice algorithm from Knuth to optimize the inner loop.
Yours of course is far more general and tests lots of voting method properties.
I'm delighted to see this work - thank you!
I had previously Implemented Proportional Approval Voting in Python, at https://github.com/nealmcb/pr_voting_methods/
Warren D. Smith implemented it via a more general method in his CleanOptPRVote.c code, as referenced in my README. His code is 100 times faster than mine, and uses a nice algorithm from Knuth to optimize the inner loop.
Yours of course is far more general and tests lots of voting method properties.