- class svvamp.GeneratorProfileCubicUniform(n_v, n_c, sort_voters=False)[source]#
Profile generator using the ‘Cubic uniform’ model.
Each coefficient
preferences_ut[v, c]
is drawn independently and uniformly in the interval [-1, 1]. The ordinal part of this distribution is the Impartial Culture.- Parameters:
Examples
>>> generator = GeneratorProfileCubicUniform(n_v=10, n_c=3) >>> profile = generator() >>> profile.preferences_rk.shape (10, 3)