egttools.behaviors.CPR.cpr_strategies.CommitmentStrategy¶
- class CommitmentStrategy(commitment_threshold)[source]¶
Bases:
AbstractCPRStrategy
Methods
- rtype
- rtype
- rtype
- rtype
- rtype
- rtype
- static get_payoff(a, b, extraction, group_extraction, fine=0, cost=0, commitment=False)[source]¶
- Return type
- __abstractmethods__ = frozenset({})¶
- __annotations__ = {}¶
- __slots__ = ()¶