egttools.behaviors.CPR.abstract_cpr_strategy.AbstractCPRStrategy¶
- class AbstractCPRStrategy[source]¶
Bases:
ABC
Methods
- rtype
- rtype
- rtype
- rtype
- rtype
- rtype
- abstract static get_payoff(a, b, extraction, group_extraction, fine=0, cost=0, commitment=False)[source]¶
- Return type
- __abstractmethods__ = frozenset({'get_extraction', 'get_payoff', 'is_commitment_validated', 'proposes_commitment', 'type', 'would_like_to_commit'})¶
- __annotations__ = {}¶
- __slots__ = ()¶