Mallows#

generate_mallows_asymmetric_votes(num_agents: int | None = None, phi: float = 0.5, **kwargs)[source]#

Generates the votes based on the Mallows model on top of Asymmetric instance.

generate_norm_mallows_votes(num_agents=None, normphi=0.5, weight=0.0, **kwargs)[source]#

Generates the votes based on the Norm-Mallows model.