- Create a Dirichlet-tree for modelling ranked ballots
- Create a Dirichlet-tree object
- Update a
dirichlet_treemodel by observing some ranked ballots.
- Clear the internal state of a
- Draw election outcomes from the posterior distribution.
- Draw ballots from the posterior predictive distribution.
Functions for evaluating social choice functions on ballots. Currently only IRV and plurality are implemented.
- Election Social Choice Functions
Legacy functions for reading and writing ranked ballot