Strategy
- class poisson_approval.Strategy(profile=None, voting_rule=None)[source]
A strategy profile (abstract class).
- Parameters
profile (Profile, optional) – The “context” in which the strategy is used.
voting_rule (str) – The voting rule. Possible values are
APPROVAL,PLURALITYandANTI_PLURALITY. Default: the same voting rule as profile if a profile is specified,APPROVALotherwise.
- property d_ranking_best_response
Defined when a profile is given. Cf.
TauVector.d_ranking_best_response.
- property duo_ab
Defined when a profile is given. Cf.
TauVector.duo_ab.
- property duo_ac
Defined when a profile is given. Cf.
TauVector.duo_ac.
- property duo_ba
Defined when a profile is given. Cf.
TauVector.duo_ba.
- property duo_bc
Defined when a profile is given. Cf.
TauVector.duo_bc.
- property duo_ca
Defined when a profile is given. Cf.
TauVector.duo_ca.
- property duo_cb
Defined when a profile is given. Cf.
TauVector.duo_cb.
- property is_equilibrium
Whether this strategy is an equilibrium (in the context of the given profile). Cf.
Profile.is_equilibrium().- Type
- property pivot_strict_ab
Defined when a profile is given. Cf.
TauVector.pivot_strict_ab.
- property pivot_strict_ac
Defined when a profile is given. Cf.
TauVector.pivot_strict_ac.
- property pivot_strict_ba
Defined when a profile is given. Cf.
TauVector.pivot_strict_ba.
- property pivot_strict_bc
Defined when a profile is given. Cf.
TauVector.pivot_strict_bc.
- property pivot_strict_ca
Defined when a profile is given. Cf.
TauVector.pivot_strict_ca.
- property pivot_strict_cb
Defined when a profile is given. Cf.
TauVector.pivot_strict_cb.
- property pivot_tij_abc
Defined when a profile is given. Cf.
TauVector.pivot_tij_abc.
- property pivot_tij_acb
Defined when a profile is given. Cf.
TauVector.pivot_tij_acb.
- property pivot_tij_bac
Defined when a profile is given. Cf.
TauVector.pivot_tij_bac.
- property pivot_tij_bca
Defined when a profile is given. Cf.
TauVector.pivot_tij_bca.
- property pivot_tij_cab
Defined when a profile is given. Cf.
TauVector.pivot_tij_cab.
- property pivot_tij_cba
Defined when a profile is given. Cf.
TauVector.pivot_tij_cba.
- property pivot_tjk_abc
Defined when a profile is given. Cf.
TauVector.pivot_tjk_abc.
- property pivot_tjk_acb
Defined when a profile is given. Cf.
TauVector.pivot_tjk_acb.
- property pivot_tjk_bac
Defined when a profile is given. Cf.
TauVector.pivot_tjk_bac.
- property pivot_tjk_bca
Defined when a profile is given. Cf.
TauVector.pivot_tjk_bca.
- property pivot_tjk_cab
Defined when a profile is given. Cf.
TauVector.pivot_tjk_cab.
- property pivot_tjk_cba
Defined when a profile is given. Cf.
TauVector.pivot_tjk_cba.
- property pivot_weak_ab
Defined when a profile is given. Cf.
TauVector.pivot_weak_ab.
- property pivot_weak_ac
Defined when a profile is given. Cf.
TauVector.pivot_weak_ac.
- property pivot_weak_ba
Defined when a profile is given. Cf.
TauVector.pivot_weak_ba.
- property pivot_weak_bc
Defined when a profile is given. Cf.
TauVector.pivot_weak_bc.
- property pivot_weak_ca
Defined when a profile is given. Cf.
TauVector.pivot_weak_ca.
- property pivot_weak_cb
Defined when a profile is given. Cf.
TauVector.pivot_weak_cb.
- print_all_pivots()
Defined when a profile is given. Cf.
TauVector.print_all_pivots().
- print_weak_pivots()
Defined when a profile is given. Cf.
TauVector.print_weak_pivots().
- property scores
Defined when a profile is given. Cf.
TauVector.scores.
Defined when a profile is given. Cf.
TauVector.share_double_votes.
Share of voters that happen to cast a sincere ballot (in the context of the given profile).
Cf.
ProfileCardinal.share_sincere(). This is defined only for aProfileCardinal.- Type
Number
Share of strategic voters that happen to cast a sincere ballot (in the context of the given profile).
Cf.
ProfileCardinal.share_sincere_among_strategic_voters(). This is defined only for aProfileCardinal.- Type
Number
Defined when a profile is given. Cf.
TauVector.share_single_votes.
- property tau
The tau-vector associated to this strategy (in the context of the given profile). Cf.
Profile.tau().- Type
- property trio
Defined when a profile is given. Cf.
TauVector.trio.
- property trio_1t_a
Defined when a profile is given. Cf.
TauVector.trio_1t_a.
- property trio_1t_b
Defined when a profile is given. Cf.
TauVector.trio_1t_b.
- property trio_1t_c
Defined when a profile is given. Cf.
TauVector.trio_1t_c.
- property trio_2t_ab
Defined when a profile is given. Cf.
TauVector.trio_2t_ab.
- property trio_2t_ac
Defined when a profile is given. Cf.
TauVector.trio_2t_ac.
- property trio_2t_ba
Defined when a profile is given. Cf.
TauVector.trio_2t_ba.
- property trio_2t_bc
Defined when a profile is given. Cf.
TauVector.trio_2t_bc.
- property trio_2t_ca
Defined when a profile is given. Cf.
TauVector.trio_2t_ca.
- property trio_2t_cb
Defined when a profile is given. Cf.
TauVector.trio_2t_cb.
- property winners
Defined when a profile is given. Cf.
TauVector.winners.
- property τ
The tau-vector (alternate notation). Cf.
Profile.τ().- Type