PopulationLadder¶
-
class
svvamp.
PopulationLadder
(V, C, n_rungs)[source]¶ Population with ‘Ladder’ model.
Parameters: - V – Integer. Number of voters.
- C – Integer. Number of candidates.
- n_rungs – Integer. Number of rungs of the ladder.
Returns: A
Population
object.Each utility
preferences_ut[v, c]
is drawn independently and equiprobably betweenn_rungs
values that divide the interval [-1, 1] equally. For example, ifn_rungs = 21
, then values in {-1, -0.9, ..., 1} are used.The ordinal part of this distribution is not the Impartial Culture. Indeed, weak orders of preference come with non-zero probability. This model is interesting the study the effect of voters’ ties.