egttools.behaviors.CPR.cpr_strategies.FairExtraction

class FairExtraction[source]

Bases: AbstractCPRStrategy

Methods

__str__()[source]

Return str(self).

Return type:

str

get_extraction(a, b, group_size, commitment=False)[source]
Return type:

float

static get_payoff(a, b, extraction, group_extraction, fine=0, cost=0, commitment=False)[source]
Return type:

float

is_commitment_validated(nb_committers)[source]
Return type:

bool

proposes_commitment()[source]
Return type:

bool

type()[source]
Return type:

str

would_like_to_commit()[source]
Return type:

bool

__abstractmethods__ = frozenset({})
__annotations__ = {}
__slots__ = ()