mggg / VoteKit

A Swiss Army Knife for computational social choice research
https://votekit.readthedocs.io/en/latest/
MIT License
10 stars 12 forks source link

Generalized IC/IAC - Ballot Simplex #90

Closed jennjwang closed 12 months ago

jennjwang commented 1 year ago

Looking for review on ballot generator refactoring (can disregard the ballot simplex class)

The goal is allow users to initialize a Ballot Generator in two ways. 1) to provide a set of parameters including alpha, cohesion factor and construct a preference interval (this is the from_paeans method) 2) to specify the preference interval and bloc to voter proportion directly. Since python does not allow overloading, I'd like feedback on how to implement both types of parameterization