martinlackner / abcvoting

Python implementations of approval-based committee (multi-winner) voting rules
https://abcvoting.readthedocs.io/
MIT License
31 stars 15 forks source link

Faster sequential rules with numpy #56

Open martinlackner opened 2 years ago

martinlackner commented 2 years ago

The use of numpy may speed up the computation of sequential rules (_seq_thiele_resolute, _seq_thiele_irresolute, _rule_x_algorithm, _phragmen_enestroem_algorithm, _seqphragmen_resolute, _seqphragmen_irresolute, _consensus_rule_algorithm).

This should be implemented as additional algorithms. Currently we have "float-fractions", "gmpy2-fractions", "standard-fractions" for these ABC rules.