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
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